st/mesa: apply DepthMode swizzle to stencil texturing as well
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 16 Feb 2016 23:58:42 +0000 (18:58 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 18 Feb 2016 02:20:24 +0000 (21:20 -0500)
commit6f4a725073fcef6b7b5a7b9acdc99539fa3fa1f4
tree07a248cb9513119d240354a2862fb0a668691f47
parent20e8ee36627f87414440650dcff89990eb70c688
st/mesa: apply DepthMode swizzle to stencil texturing as well

Gallium doesn't present these as GL_RED-style. A swizzle is necessary to
present the proper data in the unused components.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/state_tracker/st_atom_texture.c