vulkan/format: Translate G8B8G8R8_422_UNORM and B8G8R8G8_422_UNORM properly
authorMohamed Ahmed <mohamedahmedegypt2001@gmail.com>
Thu, 10 Aug 2023 16:38:39 +0000 (19:38 +0300)
committerMarge Bot <emma+marge@anholt.net>
Mon, 14 Aug 2023 23:44:19 +0000 (23:44 +0000)
commit4accbb27a2255230cc204f0d9a61c6e27d75acd7
treebb2e8c75ed2179996a6982d4bf713cbae615e04d
parenteb23ce91b537969f2d113f5228345f92173ec813
vulkan/format: Translate G8B8G8R8_422_UNORM and B8G8R8G8_422_UNORM properly

They were being translated to YUYV and UYVY formats which, in
PIPE_FORMAT parlance, are auto-converted formats, not raw data
formats.  Use the raw data formats like everything else.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24619>
src/vulkan/util/vk_format.c