Skip to content

panfrost: Allow pixels using discard to be killed

Alyssa Rosenzweig requested to merge alyssa/mesa:panfrost/fix-5607 into main

info.fs.sidefx considers discard() to be a side effect. That definition is... dubious at best. It certainly isn't the definition needed for forward pixel kill. The only reason pixels couldn't be killed by FPK is if the shader has side effects in the sense of writing to memory. Use that more precise condition so FPK works more often.

Signed-off-by: Alyssa Rosenzweig alyssa@collabora.com Closes: #5607 (closed)

Merge request reports