turnip: implement VK_KHR_sampler_ycbcr_conversion
authorJonathan Marek <jonathan@marek.ca>
Fri, 10 Apr 2020 13:19:36 +0000 (09:19 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 20 May 2020 13:22:12 +0000 (13:22 +0000)
commitd070a7ba0cfb11f1e01774b9dd3775ab7cd0c4ea
tree5ad01540e1ee1da55cbaf189e9f38014e5080be5
parent70502f071cde4497104cf2b0d46a7e9fda5cef3a
turnip: implement VK_KHR_sampler_ycbcr_conversion

Most changes based on radv, some simplification, since we don't need to
sample multiple planes, 422_UNORM/420_UNORM formats will be supported
directly using the hardware formats for those.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4590>
src/freedreno/vulkan/tu_descriptor_set.c
src/freedreno/vulkan/tu_descriptor_set.h
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_extensions.py
src/freedreno/vulkan/tu_formats.c
src/freedreno/vulkan/tu_image.c
src/freedreno/vulkan/tu_private.h
src/freedreno/vulkan/tu_shader.c