[Mesa-dev] [PATCH 4/4] i965: use the load-combine pass
Iago Toral Quiroga
itoral at igalia.com
Tue Oct 27 02:29:01 PDT 2015
---
src/mesa/drivers/dri/i965/brw_nir.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_nir.c b/src/mesa/drivers/dri/i965/brw_nir.c
index 11f1113..dd3b06c 100644
--- a/src/mesa/drivers/dri/i965/brw_nir.c
+++ b/src/mesa/drivers/dri/i965/brw_nir.c
@@ -170,6 +170,8 @@ nir_optimize(nir_shader *nir, bool is_scalar)
nir_validate_shader(nir);
progress |= nir_opt_constant_folding(nir);
nir_validate_shader(nir);
+ progress |= nir_opt_load_combine(nir);
+ nir_validate_shader(nir);
progress |= nir_opt_dead_cf(nir);
nir_validate_shader(nir);
progress |= nir_opt_remove_phis(nir);
--
1.9.1
More information about the mesa-dev
mailing list