mesa/st: implement ARB_stencil_texturing
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 3 May 2014 09:08:53 +0000 (05:08 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 5 May 2014 00:10:14 +0000 (20:10 -0400)
commit833f870d9b9f437293fc7ee7fdf4dd428eb5db70
tree7c32a3b4bbf9968f1fbd746f85f7426ab8e06cdd
parentcee22a0b48a3d52996d8a660ad1918b325f4a24e
mesa/st: implement ARB_stencil_texturing

If StencilSampling is enabled on the texture object, pass in an
equivalent stencil-only format.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_atom_texture.c
src/mesa/state_tracker/st_extensions.c