mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 00:50:07 +01:00
vc4: Scalarize phi nodes as well.
This makes fewer programs with loops assertion fail, replacing them with the rendering failure warning.
This commit is contained in:
parent
4a2ad8500d
commit
2f98bc100d
1 changed files with 1 additions and 0 deletions
|
|
@ -1368,6 +1368,7 @@ vc4_optimize_nir(struct nir_shader *s)
|
|||
|
||||
NIR_PASS_V(s, nir_lower_vars_to_ssa);
|
||||
NIR_PASS_V(s, nir_lower_alu_to_scalar);
|
||||
NIR_PASS_V(s, nir_lower_phis_to_scalar);
|
||||
|
||||
NIR_PASS(progress, s, nir_copy_prop);
|
||||
NIR_PASS(progress, s, nir_opt_dce);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue