summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-09-13 15:14:28 -0700
committerKenneth Graunke <[email protected]>2016-09-14 12:01:49 -0700
commit32630e211e60a2b41388d403cfbd4f43344d8590 (patch)
treea9eedeab9841a022ee4e4128cc0d926edf005552 /src/gallium/drivers/vc4
parente6eed3533e578f29e1e40c5db10c44df003fc8da (diff)
nir: Report progress from nir_lower_alu_to_scalar.
Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r--src/gallium/drivers/vc4/vc4_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c
index 52b938d066e..24e4699b92e 100644
--- a/src/gallium/drivers/vc4/vc4_program.c
+++ b/src/gallium/drivers/vc4/vc4_program.c
@@ -1423,7 +1423,7 @@ vc4_optimize_nir(struct nir_shader *s)
progress = false;
NIR_PASS_V(s, nir_lower_vars_to_ssa);
- NIR_PASS_V(s, nir_lower_alu_to_scalar);
+ NIR_PASS(progress, s, nir_lower_alu_to_scalar);
NIR_PASS_V(s, nir_lower_phis_to_scalar);
NIR_PASS(progress, s, nir_copy_prop);