From cff5bc5af7e795f7d192f9c2a7302619435887f4 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 6 Feb 2024 13:31:23 +0000 Subject: [PATCH] pvr: enable VK_EXT_headless_surface on all platforms except Windows Part-of: --- docs/features.txt | 2 +- src/imagination/vulkan/pvr_device.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 2ffc13bab8e..b68b62ec34a 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -584,7 +584,7 @@ Khronos extensions that are not part of any Vulkan version: VK_EXT_global_priority DONE (anv, hasvk, radv, tu) VK_EXT_global_priority_query DONE (anv, hasvk, radv, tu) VK_EXT_graphics_pipeline_library DONE (anv, lvp, radv, tu, vn) - VK_EXT_headless_surface DONE (anv, dzn, hasvk, lvp, nvk, panvk, radv, tu, v3dv, vn) + VK_EXT_headless_surface DONE (anv, dzn, hasvk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn) VK_EXT_image_2d_view_of_3d DONE (anv, hasvk, lvp, nvk, radv, tu, vn) VK_EXT_image_compression_control DONE (radv) VK_EXT_image_drm_format_modifier DONE (anv, hasvk, radv/gfx9+, tu, v3dv, vn) diff --git a/src/imagination/vulkan/pvr_device.c b/src/imagination/vulkan/pvr_device.c index 19830d93704..d62e0acbd06 100644 --- a/src/imagination/vulkan/pvr_device.c +++ b/src/imagination/vulkan/pvr_device.c @@ -155,6 +155,9 @@ static const struct vk_instance_extension_table pvr_instance_extensions = { .KHR_get_physical_device_properties2 = true, .KHR_get_surface_capabilities2 = PVR_USE_WSI_PLATFORM, .KHR_surface = PVR_USE_WSI_PLATFORM, +#ifndef VK_USE_PLATFORM_WIN32_KHR + .EXT_headless_surface = PVR_USE_WSI_PLATFORM, +#endif .EXT_debug_report = true, .EXT_debug_utils = true, };