nir/lower_blend: Enable per-sample shading
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 9 Apr 2023 14:21:32 +0000 (10:21 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 11 Apr 2023 04:16:32 +0000 (04:16 +0000)
commitc66be7521fb49b3e222912959a79b0778962b3a4
tree785fd016a520b9dc4601d6f21bea67c19157b733
parenta74c2ac40336bdbf9616ea2b9aac9aa29e6d1a2a
nir/lower_blend: Enable per-sample shading

Loading output require per-sample blending, so enable per-sample execution of
the shader as a whole so the right sample values are blended. Affects:

dEQP-GLES31.functional.multisample.default_framebuffer.sample_mask_sum_of_inverses

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22385>
src/compiler/nir/nir_lower_blend.c