hasvk: enable VK_EXT_headless_surface on all platforms except Windows

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27448>
This commit is contained in:
Eric Engestrom 2024-02-02 22:35:11 +00:00 committed by Denis
parent f0885ca457
commit 754fd7b104
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
2 changed files with 4 additions and 1 deletions

View file

@ -578,7 +578,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)

View file

@ -183,6 +183,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