pvr: Add VK_KHR_get_display_properties2

Common vulkan wsi code already exposes the *2() functions (as well as
the vulkan 1.0 equivalents), so we might as well expose this extension.

Coverage in dEQP is dEQP-VK.wsi.display.get_display_*2, which all pass
or are unsupported.

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24489>
This commit is contained in:
Matt Coster
2023-06-08 09:33:36 +01:00
committed by Marge Bot
parent 64a3320f22
commit 1823afa94a
2 changed files with 2 additions and 1 deletions

View File

@@ -514,7 +514,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_KHR_external_semaphore_win32 DONE (dzn)
VK_KHR_fragment_shader_barycentric DONE (radv/gfx10.3+)
VK_KHR_fragment_shading_rate DONE (anv/gen11+, radv/gfx10.3+)
VK_KHR_get_display_properties2 DONE (anv, radv, tu, v3dv)
VK_KHR_get_display_properties2 DONE (anv, pvr, radv, tu, v3dv)
VK_KHR_get_surface_capabilities2 DONE (anv, lvp, nvk, radv, tu, v3dv, vn)
VK_KHR_global_priority DONE (radv, tu)
VK_KHR_incremental_present DONE (anv, hasvk, lvp, radv, tu, v3dv, vn)

View File

@@ -141,6 +141,7 @@ static const struct pvr_drm_device_config pvr_drm_configs[] = {
static const struct vk_instance_extension_table pvr_instance_extensions = {
.KHR_display = PVR_USE_WSI_PLATFORM_DISPLAY,
.KHR_external_memory_capabilities = true,
.KHR_get_display_properties2 = PVR_USE_WSI_PLATFORM_DISPLAY,
.KHR_get_physical_device_properties2 = true,
.KHR_surface = PVR_USE_WSI_PLATFORM,
.EXT_debug_report = true,