[Mesa-dev] [PATCH 3/6] i965: use the load-combine pass

Eduardo Lima Mitev elima at igalia.com
Thu Apr 14 16:52:33 UTC 2016


From: Iago Toral Quiroga <itoral at igalia.com>

---
 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 fb7fa23..402cc60 100644
--- a/src/mesa/drivers/dri/i965/brw_nir.c
+++ b/src/mesa/drivers/dri/i965/brw_nir.c
@@ -419,6 +419,7 @@ nir_optimize(nir_shader *nir, bool is_scalar)
       OPT(nir_opt_peephole_select);
       OPT(nir_opt_algebraic);
       OPT(nir_opt_constant_folding);
+      OPT(nir_opt_load_combine);
       OPT(nir_opt_dead_cf);
       OPT(nir_opt_remove_phis);
       OPT(nir_opt_undef);
-- 
2.7.0



More information about the mesa-dev mailing list