Skip to content

intel/compiler: call brw_nir_adjust_payload from brw_postprocess_nir

Ivan Briano requested to merge ibriano/mesa:task_subgroups into main

What does this MR do and why?

intel/compiler: call brw_nir_adjust_payload from brw_postprocess_nir

Calling anything after nir_trivialize_registers() risks undoing some of its work. In this case, brw_nir_adjust_payload() will do a constant folding pass if any payload adjusting happened, and that can turn a bunch of @store_regs into basically noops.

Fixes dEQP-VK.subgroups.*task

Merge request reports