Skip to content

nir: Use remove_and_dce for nir_shader_lower_instructions().

Emma Anholt requested to merge anholt/mesa:nir-remove-dce into main

Reduces the work that other shader passes have to do to look at dead code, and possibly extra rounds around the optimization loop if dce wasn't the last pass in it.

shader-db runtime -1.12919% +/- 0.264337% (n=49) on SKL.

Merge request reports