From 1059dc9165d8d6fae76fcf04709514806e07dd44 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 22 May 2017 14:18:19 -0400 Subject: [PATCH] freedreno/ir3: add missing nir_opt_copy_prop_vars() pass Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/ir3/ir3_nir.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2