From: Rob Clark Date: Mon, 22 May 2017 18:18:19 +0000 (-0400) Subject: freedreno/ir3: add missing nir_opt_copy_prop_vars() pass X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1059dc9165d8d6fae76fcf04709514806e07dd44;p=mesa.git freedreno/ir3: add missing nir_opt_copy_prop_vars() pass Signed-off-by: Rob Clark --- 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);