From 7f27f2e314933266d1dae8787de028fa496cd556 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 28 Sep 2023 21:39:32 -0400 Subject: [PATCH] agx: Fix lower regular texture metadata for buffer textures, we insert new blocks which invalidates dominance and block index info... leads to end-to-end fails when shuffling pass order. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_nir_lower_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asahi/compiler/agx_nir_lower_texture.c b/src/asahi/compiler/agx_nir_lower_texture.c index a100d3cc5f1..b12e3e1e402 100644 --- a/src/asahi/compiler/agx_nir_lower_texture.c +++ b/src/asahi/compiler/agx_nir_lower_texture.c @@ -856,7 +856,7 @@ agx_nir_lower_texture(nir_shader *s, bool support_lod_bias) * generates txs for array textures). */ NIR_PASS(progress, s, nir_shader_instructions_pass, lower_regular_texture, - nir_metadata_block_index | nir_metadata_dominance, NULL); + nir_metadata_none, NULL); NIR_PASS(progress, s, nir_shader_instructions_pass, lower_txs, nir_metadata_block_index | nir_metadata_dominance, NULL);