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 <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25498>
This commit is contained in:
Alyssa Rosenzweig
2023-09-28 21:39:32 -04:00
committed by Marge Bot
parent a6afa48e86
commit 7f27f2e314
+1 -1
View File
@@ -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);