v3dv: add swizzle helpers to identify formats wit R/B swap and reverse flags
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 13 Jan 2022 07:55:42 +0000 (08:55 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 14 Jan 2022 10:10:10 +0000 (10:10 +0000)
commit872f08815b1ca49f3f75072d15201cda745bee9a
tree9c3827ec2dd61c1803f203b0e982a0c03edb6395
parentdbd3935b041e5ee096640ba91c823460ca47a0af
v3dv: add swizzle helpers to identify formats wit R/B swap and reverse flags

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14533>
src/broadcom/vulkan/v3dv_formats.c
src/broadcom/vulkan/v3dv_private.h