broadcom/compiler: allow GLSL_SAMPLER_DIM_BUF on txs emission
authorAlejandro Piñeiro <apinheiro@igalia.com>
Sat, 8 Aug 2020 21:18:41 +0000 (23:18 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:33 +0000 (21:21 +0000)
commit02b96706119ac9ce63ae6d20ca86bd0f7dbe1136
tree6c755c1309c53c946908353941e2b19373e8c88f
parente8ceb8f56aae8b2b391801bc5958b68fc34cecdb
broadcom/compiler: allow GLSL_SAMPLER_DIM_BUF on txs emission

Although we don't support texture buffers on the OpenGL driver, we are
already doing that for the Vulkan driver. This would be needed for the
OpenGL driver in any case.

Fixes following tests on v3dv:
 dEQP-VK.memory.pipeline_barrier.host_write_uniform_texel_buffer.*
 dEQP-VK.memory.pipeline_barrier.transfer_dst_uniform_texel_buffer.*

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/compiler/nir_to_vir.c