nv50,nvc0: use alternate samplers for stencil
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 12 Feb 2017 22:35:10 +0000 (17:35 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 12 Feb 2017 23:22:17 +0000 (18:22 -0500)
commit3f8b886e737b8453ec69597dd53552a36b79967b
tree7d7e8efa1bb3ed239b15b30071377955b111bce7
parent1811ccf1256662ae5d0c2b6f26916e8369497d1d
nv50,nvc0: use alternate samplers for stencil

The blob uses these, and it fixes a bunch of dEQP stencil sampling tests
involving border colors. Probably the Z-based samplers work somehow
differently wrt border colors when using the stencil swizzle.

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