nv30: reset the stencil mask when fast-clearing
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 22 May 2016 18:34:28 +0000 (14:34 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 22 May 2016 18:48:56 +0000 (14:48 -0400)
commitcb9a51d1f6db4c5a3baa2aed309875bf2e8746bd
treea880809b0bc6142b9964d500b141e433750c539b
parentf57a8440d53b8cdffb78d16bfed0c15e6e8abd5d
nv30: reset the stencil mask when fast-clearing

Apparently the stencil mask applies to clears on nv30/nv40. Reset it to
0xff before doing a stencil clear. This fixes gl-1.0-readpixsanity and
a number of other piglit tests.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv30/nv30_clear.c