[Mesa-dev] [PATCH 06/11] intel/nir: Use the separated dead write vars pass

Caio Marcelo de Oliveira Filho caio.oliveira at intel.com
Sat Sep 15 05:45:28 UTC 2018


No changes to shader-db.
---
 src/intel/compiler/brw_nir.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c
index b38c3ba383d..77938efae31 100644
--- a/src/intel/compiler/brw_nir.c
+++ b/src/intel/compiler/brw_nir.c
@@ -553,6 +553,7 @@ brw_nir_optimize(nir_shader *nir, const struct brw_compiler *compiler,
          OPT(nir_opt_find_array_copies);
       }
       OPT(nir_opt_copy_prop_vars);
+      OPT(nir_opt_dead_write_vars);
 
       if (is_scalar) {
          OPT(nir_lower_alu_to_scalar);
-- 
2.19.0



More information about the mesa-dev mailing list