v3dv: expose VK_EXT_image_drm_format_modifier
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 17 Mar 2022 10:49:03 +0000 (11:49 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 18 Mar 2022 06:42:06 +0000 (06:42 +0000)
commit5c1302f47c2226f534f594c5766fce4aa1577535
tree77459013a4d0fa1a1811560571acdb6c1a6f1108
parentcdd1b86591a1b0fa8954e7e1c8d3290fdb3c8b78
v3dv: expose VK_EXT_image_drm_format_modifier

This has been implemented for a while but we could not expose it on
Vulkan 1.0 because the extension declares a dependency on
VK_KHR_sampler_ycbcr_conversion, which we don't implement, and
CTS would complain.

On Vulkan 1.1 however, VK_KHR_sampler_ycbcr_conversion was promoted
to core as an optional feature, and this is enough for the the
dependency to be satisfied, even if the feature is not supported,
meaning that we can now expose the extension.

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