mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
anv: fixup invalid enum for nir environment
Also switching away from PIPE_
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 8c4c4c3ee1 ("anv: Add softtp64 workaround")
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19638>
This commit is contained in:
parent
811f8a1946
commit
68fd9d2829
1 changed files with 2 additions and 2 deletions
|
|
@ -446,13 +446,13 @@ anv_load_fp64_shader(struct anv_device *device)
|
|||
.int16 = true,
|
||||
.int64 = true,
|
||||
},
|
||||
.environment = MESA_SHADER_VERTEX,
|
||||
.environment = NIR_SPIRV_VULKAN,
|
||||
.create_library = true
|
||||
};
|
||||
|
||||
nir_shader* nir =
|
||||
spirv_to_nir(float64_spv_source, sizeof(float64_spv_source) / 4,
|
||||
NULL, 0, PIPE_SHADER_VERTEX, "main",
|
||||
NULL, 0, MESA_SHADER_VERTEX, "main",
|
||||
&spirv_options, nir_options);
|
||||
|
||||
assert(nir != NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue