vc4: Respect glSampleMask() even when we're not writing color.
authorEric Anholt <eric@anholt.net>
Fri, 10 Feb 2017 21:18:06 +0000 (13:18 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 10 Feb 2017 22:17:04 +0000 (14:17 -0800)
commit5c86f119b946e2557643b78687326322feb1ecea
tree1a9d6f10a0141289810251bba9229b7e903a1a1a
parent30237193f5f0f28c900052296a0f8d0619e7f50d
vc4: Respect glSampleMask() even when we're not writing color.

gallium's quad-based blitter for copying MSAA depth textures expects to be
able to do 4 passes updating a sample at a time using glSampleMask, and
there's no color buffer bound when it's doing that.
src/gallium/drivers/vc4/vc4_nir_lower_blend.c