st/mesa: fix st_CopyPixels without support for stencil exports
authorKarol Herbst <kherbst@redhat.com>
Thu, 16 Jul 2020 18:22:58 +0000 (20:22 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 17 Jul 2020 00:44:36 +0000 (00:44 +0000)
commitc36aac542a3df76f192e61d1132ff4a1bfbef9fb
tree62f4137137305f1d78bc2b4ea21b96210d7ec74a
parente7fd1ce9a245612e2510c87b7c7693fbb792ff5a
st/mesa: fix st_CopyPixels without support for stencil exports

Fixes: f611af35948e ("st/mesa: use fragment shader to copy stencil buffer")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5940>
src/mesa/state_tracker/st_cb_drawpixels.c