From f8901bddac242d487e03ca6a267c5cc61717aef9 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Wed, 26 Nov 2025 16:27:03 -0800 Subject: [PATCH] ir3: Drop use of nir_lower_wrmasks(). It gets done by nir_lower_mem_access_bit_sizes that's called right after. Part-of: --- src/freedreno/ir3/ir3_nir.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c index 720bfef403e..da0b82cb229 100644 --- a/src/freedreno/ir3/ir3_nir.c +++ b/src/freedreno/ir3/ir3_nir.c @@ -689,8 +689,6 @@ ir3_finalize_nir(struct ir3_compiler *compiler, NIR_PASS(_, s, nir_lower_frexp); NIR_PASS(_, s, nir_lower_amul, ir3_glsl_type_size); - OPT(s, nir_lower_wrmasks); - OPT(s, nir_lower_tex, &tex_options); OPT(s, nir_lower_load_const_to_scalar); @@ -1207,7 +1205,6 @@ ir3_nir_lower_variant(struct ir3_shader_variant *so, } /* Lower scratch writemasks */ - progress |= OPT(s, nir_lower_wrmasks); progress |= OPT(s, nir_lower_atomics, atomic_supported); if (OPT(s, nir_lower_locals_to_regs, 1)) {