mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-07 01:10:39 +01:00
zink: run nir_lower_phis_to_scalar in optimization loop
fixes (lavapipe): dEQP-GLES3.functional.shaders.switch.switch_in_do_while_loop_dynamic* Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15274>
This commit is contained in:
parent
342e6f8332
commit
9579df6a7f
1 changed files with 1 additions and 0 deletions
|
|
@ -387,6 +387,7 @@ optimize_nir(struct nir_shader *s)
|
|||
NIR_PASS(progress, s, nir_opt_remove_phis);
|
||||
NIR_PASS(progress, s, nir_opt_dce);
|
||||
NIR_PASS(progress, s, nir_opt_dead_cf);
|
||||
NIR_PASS(progress, s, nir_lower_phis_to_scalar, false);
|
||||
NIR_PASS(progress, s, nir_opt_cse);
|
||||
NIR_PASS(progress, s, nir_opt_peephole_select, 8, true, true);
|
||||
NIR_PASS(progress, s, nir_opt_algebraic);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue