v3dv: implement VK_EXT_4444_formats
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 13 Jan 2022 08:00:10 +0000 (09:00 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 14 Jan 2022 10:10:10 +0000 (10:10 +0000)
commitfbe4d7ccf49ccfeed08531680232dcaa28a66479
treecdba5842e1b4aa650e1ed6f3e392481461a5f755
parent25c46c465d5eca6ded6f541e70a1ac9c6ab179ed
v3dv: implement VK_EXT_4444_formats

Because these formats are introduced trough an extension, their
enum values are exceedingly large and we cannot use them to index
directly into the format table we had for core formats. Instead,
we put these in a separate table and we always use the
VK_ENUM_OFFSET helper to index into these tables.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14533>
docs/features.txt
src/broadcom/vulkan/v3dv_device.c
src/broadcom/vulkan/v3dvx_formats.c