aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3/ir3_nir.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-05-22 14:18:19 -0400
committerRob Clark <[email protected]>2017-05-23 12:26:35 -0400
commit1059dc9165d8d6fae76fcf04709514806e07dd44 (patch)
treeaaff5a31150829c63259e0e5f995e0696ce1dd44 /src/gallium/drivers/freedreno/ir3/ir3_nir.c
parentc712a637b9c77c1372a721ce2f3094e999ee02ff (diff)
freedreno/ir3: add missing nir_opt_copy_prop_vars() pass
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3_nir.c')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_nir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_nir.c
index 9fb41fcce0c..d30543d760f 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_nir.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_nir.c
@@ -109,6 +109,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_lower_alu_to_scalar);
progress |= OPT(s, nir_lower_phis_to_scalar);