Skip to content

intel/compiler: reemit boolean resolve for inverted if on gen5

Dave Airlie requested to merge airlied/mesa:intel-brw-fix-gen5-if into main

This fixes a regression on gen5 since generic NIR changes.

intel/compiler: reemit boolean resolve for inverted if on gen5
    
Gen5 adds some boolean conversion instructions after nir emits,
but that nir srcs don't line up with them, so reemit the boolean
conversion if we reemit the inot.
    
Fixes: 31b5f5a51f3a ("nir/opt_if: Simplify if's with general conditions")
Edited by Dave Airlie

Merge request reports