From 92a2ab8b6419e30567770f78c32bd8535131cc88 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Fri, 16 May 2025 16:44:06 +0100 Subject: [PATCH] ac/nir: fix progress reporting in ac_nir_lower_tex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rhys Perry Reviewed-by: Faith Ekstrand Reviewed-by: Marek Olšák Part-of: --- src/amd/common/nir/ac_nir_lower_tex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/common/nir/ac_nir_lower_tex.c b/src/amd/common/nir/ac_nir_lower_tex.c index 90998fea46c..1ff4fd8d93d 100644 --- a/src/amd/common/nir/ac_nir_lower_tex.c +++ b/src/amd/common/nir/ac_nir_lower_tex.c @@ -499,7 +499,7 @@ ac_nir_lower_tex(nir_shader *nir, const ac_nir_lower_tex_options *options) &impl->body, &divergent_discard, false); - nir_progress(impl_progress, impl, nir_metadata_control_flow); + progress |= nir_progress(impl_progress, impl, nir_metadata_control_flow); } progress |= nir_shader_instructions_pass(