broadcom/compiler: use NIR_PASS for nir_lower_vars_to_ssa at v3d_optimize_nir

There's no reason to not take into account progress at that point.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17609>
This commit is contained in:
Alejandro Piñeiro 2022-07-18 12:52:21 +02:00 committed by Marge Bot
parent dea0fe8a06
commit d8fee4cdaa
1 changed files with 1 additions and 1 deletions

View File

@ -2136,7 +2136,7 @@ v3d_optimize_nir(struct v3d_compile *c, struct nir_shader *s)
do {
progress = false;
NIR_PASS_V(s, nir_lower_vars_to_ssa);
NIR_PASS(progress, s, nir_lower_vars_to_ssa);
NIR_PASS(progress, s, nir_lower_alu_to_scalar, NULL, NULL);
NIR_PASS(progress, s, nir_lower_phis_to_scalar, false);
NIR_PASS(progress, s, nir_copy_prop);