mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
nir/opt_if: fix progress reporting with multiple function impls
Signed-off-by: Rhys Perry <pendingchaos02@gmail.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:
parent
591b498e1f
commit
da23b17c8b
1 changed files with 1 additions and 1 deletions
|
|
@ -1447,7 +1447,7 @@ nir_opt_if(nir_shader *shader, nir_opt_if_options options)
|
|||
|
||||
nir_metadata_require(impl,
|
||||
nir_metadata_block_index | nir_metadata_dominance);
|
||||
progress = opt_if_safe_cf_list(&b, &impl->body, options);
|
||||
progress |= opt_if_safe_cf_list(&b, &impl->body, options);
|
||||
nir_progress(true, impl, nir_metadata_control_flow);
|
||||
|
||||
bool preserve = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue