tu: 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 Marge Bot
parent 11cf6965ea
commit 6407d0f0a2
2 changed files with 4 additions and 1 deletions

View File

@ -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 (radv, v3dv)
VK_EXT_headless_surface DONE (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

@ -121,6 +121,9 @@ static const struct vk_instance_extension_table tu_instance_extensions_supported
#ifdef VK_USE_PLATFORM_DISPLAY_KHR
.EXT_direct_mode_display = true,
.EXT_display_surface_counter = true,
#endif
#ifndef VK_USE_PLATFORM_WIN32_KHR
.EXT_headless_surface = true,
#endif
.EXT_swapchain_colorspace = TU_HAS_SURFACE,
} };