pvr: advertise VK_EXT_headless_surface

The CTS failure with this enabled, which is
dEQP-VK.wsi.headless.swapchain.simulate_oom.* , fails on lavapipe too.

So the CTS failure shouldn't be fault of powervr code, and the extension
could be advertised.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
This commit is contained in:
Icenowy Zheng 2025-12-19 23:34:01 +08:00
parent 821baac5c3
commit 25fff7be8b

View file

@ -72,7 +72,7 @@ static const struct vk_instance_extension_table pvr_instance_extensions = {
.EXT_debug_report = true,
.EXT_debug_utils = true,
#ifndef VK_USE_PLATFORM_WIN32_KHR
.EXT_headless_surface = PVR_USE_WSI_PLATFORM && false,
.EXT_headless_surface = PVR_USE_WSI_PLATFORM,
#endif
};