From 6e2c71dc3b0905ebe319abe86b4226c2eba3f41d Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 1 Dec 2023 17:13:58 -0400 Subject: [PATCH] agx: Lower 64-bit I/O to 32-bit Fixes KHR-GL42.vertex_attrib_64bit.* Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asahi/compiler/agx_compile.c b/src/asahi/compiler/agx_compile.c index 421379cfadc..d69ca2df941 100644 --- a/src/asahi/compiler/agx_compile.c +++ b/src/asahi/compiler/agx_compile.c @@ -2919,7 +2919,7 @@ agx_preprocess_nir(nir_shader *nir, const nir_shader *libagx, NIR_PASS_V(nir, nir_lower_var_copies); NIR_PASS_V(nir, nir_lower_vars_to_ssa); NIR_PASS_V(nir, nir_lower_io, nir_var_shader_in | nir_var_shader_out, - glsl_type_size, 0); + glsl_type_size, nir_lower_io_lower_64bit_to_32); NIR_PASS_V(nir, nir_lower_ssbo); if (nir->info.stage == MESA_SHADER_FRAGMENT) { struct interp_masks masks = agx_interp_masks(nir);