anv: use ycbcr_info for P010 format
authorHyunjun Ko <zzoon@igalia.com>
Wed, 12 Jul 2023 05:00:54 +0000 (14:00 +0900)
committerMarge Bot <emma+marge@anholt.net>
Fri, 21 Jul 2023 06:15:30 +0000 (06:15 +0000)
commite3ecba326648615aad37fea3ffc0ac761a078c0b
tree67199180e7942978e8a3ece012fb99754d4eaa67
parent340df42977780323a1fe71e29dd374aeeffbbb44
anv: use ycbcr_info for P010 format

Since !24096 landed, we can just use ycbcr_info to get information
of an image of the P010 format.

Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24265>
src/intel/vulkan/anv_image.c