gallivm: use common code to select texel type
authorDave Airlie <airlied@redhat.com>
Mon, 31 Aug 2020 00:22:35 +0000 (10:22 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 31 Aug 2020 03:20:11 +0000 (13:20 +1000)
commit727bb217be680ba7de4e8821fbe409921952cd93
tree87a16b45c72a24e14f4ea98405b686824f94860e
parent6596957641ff1e070d4790669a449e1d1d550e86
gallivm: use common code to select texel type

This was suggested by Roland, and fixes stencil images.

Fixes:
dEQP-VK.renderpass.dedicated_allocation.formats.d24_unorm_s8_uint.*
dEQP-VK.renderpass.dedicated_allocation.formats.d32_sfloat_s8_uint.*

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