meta: Don't smash ColorMask when using MESA_META_COLOR_MASK save bit.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Apr 2016 19:09:41 +0000 (12:09 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 18 Apr 2016 17:39:26 +0000 (10:39 -0700)
commita33f94ba8c3a4a344fbc5a8386cec7f2a620b97e
treee919bf2a1d4b55b6d5c001cd67915f215ff3b42c
parent48fe53bbb9cc14dd758e7a55c55616be85a3358b
meta: Don't smash ColorMask when using MESA_META_COLOR_MASK save bit.

This allows meta operations to inspect the existing color mask, and
then do their own smashing.

BlitFramebuffer and Clear already override the color mask, so this
was also redundant.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta_generate_mipmap.c