mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01: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> (cherry picked from commit68fd9d2829)
This commit is contained in:
parent
57e8d21fff
commit
91dfc02570
2 changed files with 3 additions and 3 deletions
|
|
@ -3307,7 +3307,7 @@
|
|||
"description": "anv: fixup invalid enum for nir environment",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "8c4c4c3ee1a24b73fa29f30a05e873e9e13dddc7"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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