From a20f189a04bdcb3c340ae82cea9685d2df026840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 21 Nov 2025 21:56:47 -0500 Subject: [PATCH] radeonsi: don't set progress uselessly in si_postprocess_nir it's unused here Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/si_shader.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 33684e06d32..06e3a32179e 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -1112,16 +1112,16 @@ static void si_postprocess_nir(struct si_nir_shader_ctx *ctx) si_nir_late_opts(nir); - NIR_PASS(progress, nir, nir_opt_sink, + NIR_PASS(_, nir, nir_opt_sink, nir_move_const_undef | nir_move_copies | nir_move_alu | nir_move_comparisons | nir_move_load_ubo | nir_move_load_ssbo); - NIR_PASS(progress, nir, nir_opt_move, + NIR_PASS(_, nir, nir_opt_move, nir_move_const_undef | nir_move_copies | nir_move_alu | nir_move_comparisons | nir_move_load_ubo); /* Run nir_opt_move again to make sure that comparisons are as close as possible to the first * use to prevent SCC spilling. */ - NIR_PASS(progress, nir, nir_opt_move, nir_move_comparisons); + NIR_PASS(_, nir, nir_opt_move, nir_move_comparisons); /* This must be done after si_nir_late_opts() because it may generate vec const. */ NIR_PASS(_, nir, nir_lower_load_const_to_scalar);