diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-08-29 17:26:03 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-10-15 17:29:46 -0700 |
commit | c20dd1f77cc72c6281dc52f12734d431b96b8741 (patch) | |
tree | 7bcf066cbadb0b01ad8968eb40c9dc96336705e8 /src/intel/compiler/brw_nir.c | |
parent | cb126cf67a7baa86f7a048e415e30f7e6a1e5bf4 (diff) |
intel/nir, freedreno/ir3: Use the separated dead write vars pass
No changes to shader-db for intel.
No changes to shader-db expected for freedreno.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_nir.c')
-rw-r--r-- | src/intel/compiler/brw_nir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index f61baee230a..297845b89b7 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); |