summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-03-27 21:00:01 -0700
committerJason Ekstrand <[email protected]>2018-06-22 20:54:00 -0700
commit2fa7a4a54185cd64cb26c2d14339b95890b69da0 (patch)
treed50d0993660c14911f2ae0c62a3e978433f32c5e /src/gallium
parent67df3739c599d85c01681a278ae3b34284af5735 (diff)
intel,ir3: Re-enable nir_opt_copy_prop_vars
Now that it's rewritten for deref instructions, we can turn it back on. Acked-by: Rob Clark <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> Acked-by: Dave Airlie <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium')
-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 6dc8213e5a9..9ada3889eb9 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_nir.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_nir.c
@@ -92,7 +92,7 @@ ir3_optimize_loop(nir_shader *s)
progress = false;
OPT_V(s, nir_lower_vars_to_ssa);
- /* progress |= OPT(s, nir_opt_copy_prop_vars); */
+ progress |= OPT(s, nir_opt_copy_prop_vars);
progress |= OPT(s, nir_lower_alu_to_scalar);
progress |= OPT(s, nir_lower_phis_to_scalar);