vc4: Fix stencil writemask handling.
authorEric Anholt <eric@anholt.net>
Mon, 20 Oct 2014 20:14:57 +0000 (21:14 +0100)
committerEric Anholt <eric@anholt.net>
Tue, 21 Oct 2014 14:16:41 +0000 (15:16 +0100)
commitcc298023c9b302a7a24ee01fe2da1c93f5b44666
tree1b0925a57389f75365bd15d346f71432b8b39d27
parent48f6351940ff62c29fff618cec722e845acc86d5
vc4: Fix stencil writemask handling.

If the writemask doesn't compress, then we want to put in the uncompressed
writemask, not the compressed writemask failure value (all-on).

Fixes glean's stencil2 and fbo-clear-formats on stencil.
src/gallium/drivers/vc4/vc4_state.c