summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_program.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-09-13 15:14:28 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-09-14 12:01:51 -0700
commit2d8a3fa7ea994ad02a40ff497109f966e3fcbeec (patch)
tree59bb6bdd47d2cd9120af0ffeff1bcc9e0b79107b /src/gallium/drivers/vc4/vc4_program.c
parent32630e211e60a2b41388d403cfbd4f43344d8590 (diff)
downloadexternal_mesa3d-2d8a3fa7ea994ad02a40ff497109f966e3fcbeec.zip
external_mesa3d-2d8a3fa7ea994ad02a40ff497109f966e3fcbeec.tar.gz
external_mesa3d-2d8a3fa7ea994ad02a40ff497109f966e3fcbeec.tar.bz2
nir: Report progress from nir_lower_phis_to_scalar.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_program.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_program.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c
index 24e4699..986a1ff 100644
--- a/src/gallium/drivers/vc4/vc4_program.c
+++ b/src/gallium/drivers/vc4/vc4_program.c
@@ -1424,8 +1424,7 @@ vc4_optimize_nir(struct nir_shader *s)
NIR_PASS_V(s, nir_lower_vars_to_ssa);
NIR_PASS(progress, s, nir_lower_alu_to_scalar);
- NIR_PASS_V(s, nir_lower_phis_to_scalar);
-
+ NIR_PASS(progress, s, nir_lower_phis_to_scalar);
NIR_PASS(progress, s, nir_copy_prop);
NIR_PASS(progress, s, nir_opt_remove_phis);
NIR_PASS(progress, s, nir_opt_dce);