Skip to content

nir,anv: lower if (cond) demote() to new intrinsic demote_if(cond)

Daniel Schürmann requested to merge daniel-schuermann/mesa:demote into master

Does the very same like discard -> discard_if in nir_opt_conditional_discard. The anv change is untested, I'd be glad if someone could check that. This patch will also help ACO.

Merge request reports