[Mesa-dev] [PATCH 3/3] i965/nir: Use GCM and GVN
Jason Ekstrand
jason at jlekstrand.net
Tue Sep 6 18:08:58 UTC 2016
---
src/mesa/drivers/dri/i965/brw_nir.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/drivers/dri/i965/brw_nir.c b/src/mesa/drivers/dri/i965/brw_nir.c
index e8dafae..9071384 100644
--- a/src/mesa/drivers/dri/i965/brw_nir.c
+++ b/src/mesa/drivers/dri/i965/brw_nir.c
@@ -392,6 +392,7 @@ nir_optimize(nir_shader *nir, bool is_scalar)
OPT(nir_opt_constant_folding);
OPT(nir_opt_dead_cf);
OPT(nir_opt_remove_phis);
+ OPT(nir_opt_gcm, true);
OPT(nir_opt_undef);
OPT_V(nir_lower_doubles, nir_lower_drcp |
nir_lower_dsqrt |
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list