v3dv/formats: fix exposing FEATURE_UNIFORM/STORAGE_TEXEL_BUFFER_BIT
authorAlejandro Piñeiro <apinheiro@igalia.com>
Sun, 2 Aug 2020 00:23:16 +0000 (02:23 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:32 +0000 (21:21 +0000)
commitb7ca46762f23709def04ee23cca569da2c801fae
treee7c6d0ed8e8c7c8e6a3ab475fcfaebb161a7ba04
parentc68ed396b2c0439b1b3b0d80f666c624cf00b4f0
v3dv/formats: fix exposing FEATURE_UNIFORM/STORAGE_TEXEL_BUFFER_BIT

If the formats are not suitable as texture type, then they can't be
used as texel buffers.

Gets tests like the following one:
   dEQP-VK.image.load_store.without_format.buffer.r32g32b32_sfloat_minalign_uniform

to be properly skipped (instead of Crash on the simulator)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_formats.c