radv: add radv_is_vertex_buffer_format_supported
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 3 Aug 2022 17:03:28 +0000 (18:03 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 30 Aug 2022 19:02:11 +0000 (19:02 +0000)
commitd4ec156d8285ac1fd44342aa979a5b46ee547fb0
tree75bb705f7fa4853dd6d24951db8f0e7e424f118e
parent6a2ada93b49b2317e25d433da1548843a14b25d7
radv: add radv_is_vertex_buffer_format_supported

We will want to support formats which cannot used for texel buffers.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17894>
src/amd/vulkan/radv_formats.c