Re: [Mesa-dev] [PATCH 1/2 v2] intel/compiler: More DCE after lowering

2018-07-03 Thread Jason Ekstrand
Rb On July 3, 2018 15:31:38 "Ian Romanick" wrote: From: Ian Romanick Some of the lowering passes, nir_lower_locals_to_regs for example, can cause some previously live code to be dead. This pass in particular leaves a bunch of nir_instr_type_deref instructions floating around. This causes sh

[Mesa-dev] [PATCH 1/2 v2] intel/compiler: More DCE after lowering

2018-07-03 Thread Ian Romanick
From: Ian Romanick Some of the lowering passes, nir_lower_locals_to_regs for example, can cause some previously live code to be dead. This pass in particular leaves a bunch of nir_instr_type_deref instructions floating around. This causes shader-db runs on Gen5 through Haswell to spew tons of me