gallivm/sample: fix texel type for stencil 8-bit
authorDave Airlie <airlied@redhat.com>
Wed, 10 Jun 2020 03:12:41 +0000 (13:12 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 11 Jun 2020 04:41:23 +0000 (14:41 +1000)
commit30f94b3e7d37466a6da948ea58ca12ddcf6cf9d5
tree812d631812c118102e23d80a604e41b009fe179e
parent47c231806328b8358c3deba265f361c0d5608c6b
gallivm/sample: fix texel type for stencil 8-bit

This has to be unsigned, so clamping works properly for border
colors.

Fixes dEQP-GLES31.functional.texture.border_clamp.range_clamp.nearest_uint_stencil

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5379>
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c