Mesa (master): freedreno/ir3: add missing nir_opt_copy_prop_vars() pass

Rob Clark robclark at kemper.freedesktop.org
Tue May 23 16:37:13 UTC 2017


Module: Mesa
Branch: master
Commit: 1059dc9165d8d6fae76fcf04709514806e07dd44
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1059dc9165d8d6fae76fcf04709514806e07dd44

Author: Rob Clark <robdclark at gmail.com>
Date:   Mon May 22 14:18:19 2017 -0400

freedreno/ir3: add missing nir_opt_copy_prop_vars() pass

Signed-off-by: Rob Clark <robdclark at gmail.com>

---

 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 9fb41fcce0..d30543d760 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);
 




More information about the mesa-commit mailing list