From 5ed98c8267fca46192f69964e3bbd3a8109a4237 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Fri, 2 Jan 2026 18:14:53 -0500 Subject: [PATCH] nak: Use nir_lower_io_lower_64bit_to_32 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the one that has Vulkan semantics. We could probably make nir_lower_io_lower_64bit_to_32_new work but it assumes the weird GL semantics which don't map to what Vulkan does. Using it with a Vulkan driver would require remapping all the attribute indices. Reviewed-by: Timur Kristóf Reviewed-by: Mary Guillemard Acked-by: Mel Henning Part-of: --- src/nouveau/compiler/nak_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nouveau/compiler/nak_nir.c b/src/nouveau/compiler/nak_nir.c index 75f4920920e..e9fa411afa0 100644 --- a/src/nouveau/compiler/nak_nir.c +++ b/src/nouveau/compiler/nak_nir.c @@ -1075,7 +1075,7 @@ nak_postprocess_nir(nir_shader *nir, case MESA_SHADER_TESS_EVAL: case MESA_SHADER_GEOMETRY: OPT(nir, nir_lower_io, nir_var_shader_in | nir_var_shader_out, - type_size_vec4, nir_lower_io_lower_64bit_to_32_new); + type_size_vec4, nir_lower_io_lower_64bit_to_32); OPT(nir, nir_opt_constant_folding); OPT(nir, nak_nir_lower_vtg_io, nak); if (nir->info.stage == MESA_SHADER_GEOMETRY)