summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno
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:49 -0700
commit32630e211e60a2b41388d403cfbd4f43344d8590 (patch)
treea9eedeab9841a022ee4e4128cc0d926edf005552 /src/gallium/drivers/freedreno
parente6eed3533e578f29e1e40c5db10c44df003fc8da (diff)
downloadexternal_mesa3d-32630e211e60a2b41388d403cfbd4f43344d8590.zip
external_mesa3d-32630e211e60a2b41388d403cfbd4f43344d8590.tar.gz
external_mesa3d-32630e211e60a2b41388d403cfbd4f43344d8590.tar.bz2
nir: Report progress from nir_lower_alu_to_scalar.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_nir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_nir.c
index 023da3b..2526222 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_nir.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_nir.c
@@ -90,7 +90,7 @@ ir3_optimize_loop(nir_shader *s)
progress = false;
OPT_V(s, nir_lower_vars_to_ssa);
- OPT_V(s, nir_lower_alu_to_scalar);
+ progress |= OPT(s, nir_lower_alu_to_scalar);
OPT_V(s, nir_lower_phis_to_scalar);
progress |= OPT(s, nir_copy_prop);