From 0837ea14b8c1dc275de11d6f326f03d96a13b0f8 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Tue, 6 Jan 2026 21:43:22 +0800 Subject: [PATCH] pvr: advertise X11-related WSI instance extensions Signed-off-by: Icenowy Zheng Reviewed-by: Frank Binns Part-of: --- docs/features.txt | 4 ++-- docs/relnotes/new_features.txt | 2 ++ src/imagination/vulkan/pvr_instance.c | 6 ++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 92cb55cc07f..9e0824e57dc 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -590,8 +590,8 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_workgroup_memory_explicit_layout DONE (anv, hk, kk, lvp, nvk, hasvk, radv, tu, v3dv, vn) VK_KHR_win32_keyed_mutex not started VK_KHR_win32_surface DONE (dzn, lvp) - VK_KHR_xcb_surface DONE (anv, dzn, hasvk, hk, lvp, nvk, panvk, radv, tu, v3dv, vn) - VK_KHR_xlib_surface DONE (anv, dzn, hasvk, hk, lvp, nvk, panvk, radv, tu, v3dv, vn) + VK_KHR_xcb_surface DONE (anv, dzn, hasvk, hk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn) + VK_KHR_xlib_surface DONE (anv, dzn, hasvk, hk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn) VK_KHR_surface_maintenance1 DONE (anv, hk, lvp, nvk, radv, tu, v3dv, vn) VK_KHR_swapchain_maintenance1 DONE (anv, hk, lvp, nvk, radv, tu, v3dv, vn) VK_EXT_acquire_xlib_display DONE (anv, hk, lvp, nvk, panvk, radv, tu, v3dv, vn) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index e3802e468c1..edbee8f9fd3 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -22,3 +22,5 @@ VK_KHR_dynamic_rendering on PowerVR VK_EXT_multisampled_render_to_single_sampled on panvk VK_KHR_pipeline_binary on HoneyKrisp VK_KHR_incremental_present on pvr +VK_KHR_xcb_surface on pvr +VK_KHR_xlib_surface on pvr diff --git a/src/imagination/vulkan/pvr_instance.c b/src/imagination/vulkan/pvr_instance.c index c13d331331c..674ee131e59 100644 --- a/src/imagination/vulkan/pvr_instance.c +++ b/src/imagination/vulkan/pvr_instance.c @@ -68,6 +68,12 @@ static const struct vk_instance_extension_table pvr_instance_extensions = { .KHR_surface = PVR_USE_WSI_PLATFORM, #ifdef VK_USE_PLATFORM_WAYLAND_KHR .KHR_wayland_surface = true, +#endif +#ifdef VK_USE_PLATFORM_XCB_KHR + .KHR_xcb_surface = true, +#endif +#ifdef VK_USE_PLATFORM_XLIB_KHR + .KHR_xlib_surface = true, #endif .EXT_debug_report = true, .EXT_debug_utils = true,