panvk: Enable VK_EXT_direct_mode_display

Panvk already enables VK_EXT_acquire_xlib_display, but not
VK_EXT_direct_mode_display which is a dependency. This causes a failure
in dEQP-VK.info.instance_extensions.

Fixes: 8c2bfa279d ("panvk: support x11 wsi")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34672>
This commit is contained in:
John Anthony 2025-04-23 10:44:36 +02:00 committed by Marge Bot
parent 419a9e9d42
commit 8dd578e2a4
3 changed files with 3 additions and 1 deletions

View file

@ -599,7 +599,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_EXT_device_fault DONE (radv)
VK_EXT_device_generated_commands DONE (nvk/Turing+, radv/gfx8+)
VK_EXT_device_memory_report DONE (anv, radv, vn)
VK_EXT_direct_mode_display DONE (anv, lvp, nvk, radv, tu, v3dv, vn)
VK_EXT_direct_mode_display DONE (anv, lvp, nvk, panvk, radv, tu, v3dv, vn)
VK_EXT_discard_rectangles DONE (radv)
VK_EXT_display_control DONE (anv, hasvk, nvk, panvk, radv, tu)
VK_EXT_display_surface_counter DONE (anv, lvp, nvk, panvk, radv, tu, vn)

View file

@ -8,3 +8,4 @@ GL_ARB_blend_func_extended on v3d
dualSrcBlend on v3dv
VK_KHR_maintenance4 on panvk/v10+
VK_KHR_maintenance5 on panvk/v10+
VK_EXT_direct_mode_display on panvk

View file

@ -65,6 +65,7 @@ static const struct vk_instance_extension_table panvk_instance_extensions = {
#endif
#ifdef VK_USE_PLATFORM_DISPLAY_KHR
.KHR_display = true,
.EXT_direct_mode_display = true,
.EXT_display_surface_counter = true,
#endif
#ifdef VK_USE_PLATFORM_WAYLAND_KHR