ac/nir: fix progress reporting in ac_nir_lower_tex

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35069>
This commit is contained in:
Rhys Perry 2025-05-16 16:44:06 +01:00 committed by Marge Bot
parent 66e9a2f61d
commit 92a2ab8b64

View file

@ -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(