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:

committed by
Marge Bot

parent
811f8a1946
commit
68fd9d2829
@@ -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);
|
||||
|
Reference in New Issue
Block a user