st/mesa: force depth mode to GL_RED for sized depth/stencil formats
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 17 Feb 2016 13:17:35 +0000 (08:17 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 19 Feb 2016 22:37:39 +0000 (17:37 -0500)
commit0b10ec1086d90de45ca2fab7b7b212508f50d1aa
tree889c9451ec53b03f9f32d347a19e4ac03fda70f8
parente6f1a44d1407f3318d86ca1bcbc26c3479632e63
st/mesa: force depth mode to GL_RED for sized depth/stencil formats

See commit 9db2098d for the i965 version of this.

This fixes depth in a bunch of dEQP EXT_texture_border_clamp tests. And
probably other ones as well.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/state_tracker/st_atom_texture.c