From b10f61f98e0ae3ce43b76cf1c913ea2ccc62e179 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 2 Feb 2024 22:35:11 +0000 Subject: [PATCH] hasvk: enable VK_EXT_headless_surface on all platforms except Windows Part-of: --- docs/features.txt | 2 +- src/intel/vulkan_hasvk/anv_device.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 9652f97735d..839ff54c025 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, radv, tu, v3dv) + VK_EXT_headless_surface DONE (anv, hasvk, radv, tu, v3dv) 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/intel/vulkan_hasvk/anv_device.c b/src/intel/vulkan_hasvk/anv_device.c index 01d998264c2..46996232359 100644 --- a/src/intel/vulkan_hasvk/anv_device.c +++ b/src/intel/vulkan_hasvk/anv_device.c @@ -184,6 +184,9 @@ static const struct vk_instance_extension_table instance_extensions = { .EXT_display_surface_counter = true, .EXT_acquire_drm_display = true, #endif +#ifndef VK_USE_PLATFORM_WIN32_KHR + .EXT_headless_surface = true, +#endif }; static void