Skip to content

nir/lower_blend: Set uses_fbfetch_output conservatively

Alyssa Rosenzweig requested to merge alyssa/mesa:nir/lower-blend-persamp into main

Only insert a load_output if we're going to use it, don't rely on it getting DCE'd since that will mess up the shader info. This does require a bit of logic to figure out whether we do need it.

Signed-off-by: Alyssa Rosenzweig alyssa@rosenzweig.io

Merge request reports