st/mesa: Fix blitting from GL_DEPTH_STENCIL to GL_STENCIL_INDEX
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Mar 2019 22:03:13 +0000 (15:03 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 28 Mar 2019 17:47:23 +0000 (10:47 -0700)
commitce89c19b88376bcc4752494d78e4eb220cde6930
tree81b4443db28a906fc158f8dc0df9bcdb0a9c4347
parent107a8ec3b331f0b9bbaa489689ffd080100ef6e9
st/mesa: Fix blitting from GL_DEPTH_STENCIL to GL_STENCIL_INDEX

Fixes assertion failures in Piglit's "framebuffer-blit-levels
{draw,read} stencil" tests on iris.  Also fixes assert failures in
frameretrace, which tries to ReadPixels the stencil values (only)
from a Z24S8 depth/stencil attachment.

Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org>
src/mesa/state_tracker/st_cb_texture.c