st/mesa: help fix stencil border color for GL_DEPTH_STENCIL textures
authorMarek Olšák <marek.olsak@amd.com>
Tue, 21 Aug 2018 01:33:24 +0000 (21:33 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 4 Sep 2018 18:01:43 +0000 (14:01 -0400)
commit725e8ad5590749ca2fa4bd89e1e8007fd20b114e
treeedd8ca4c10bcb14bd6428cc17cbf28435747e5d8
parentd49904085a1c4054da247a54d3787ec34ef7c900
st/mesa: help fix stencil border color for GL_DEPTH_STENCIL textures

GL_STENCIL_INDEX uses GL_INTENSITY for the border color, which is nicer
to hardware that doesn't read the stencil border value from the X channel.

This fixes a bunch of dEQP tests on Vega & Raven.

Cc: 18.1 18.2 <mesa-stable@lists.freedesktop.org>
src/mesa/state_tracker/st_atom_sampler.c