st/mesa: use uint-result for sampling stencil buffers
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 3 Feb 2020 17:22:31 +0000 (18:22 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 4 Feb 2020 07:43:36 +0000 (07:43 +0000)
commitfd27fb511386615cd6b44b037f9f5117846b51d4
treed7866affb1bac3de62822059dd672f63e10c7ae1
parent9cdd89a34b89973fbe646de5976f190ec7bd8d1c
st/mesa: use uint-result for sampling stencil buffers

Otherwise, we end up mismatching the result-type and the sampler-type.

Fixes: 642125edd97 ("st/mesa: use uint-samplers for sampling stencil buffers")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3680>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3680>
src/mesa/state_tracker/st_cb_drawpixels.c