From bcfd9671177815b72b4fd5c6b1ca760173e9fce3 Mon Sep 17 00:00:00 2001 From: ziga-lunarg Date: Sat, 15 Oct 2022 21:13:31 +0200 Subject: [PATCH] Add missing switch case in wsi util isDIsplaySurface A case for TYPE_HEADLESS is missing, causing asserts in some tests Components: Vulkan, Framework VK-GL-CTS issue: 4048 Affected tests: dEQP-VK.* Change-Id: I9f043ba10426497f666c9a987fe541c34666e17d --- external/vulkancts/framework/vulkan/vkWsiUtil.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/external/vulkancts/framework/vulkan/vkWsiUtil.cpp b/external/vulkancts/framework/vulkan/vkWsiUtil.cpp index 82634bc..47ccc5e 100644 --- a/external/vulkancts/framework/vulkan/vkWsiUtil.cpp +++ b/external/vulkancts/framework/vulkan/vkWsiUtil.cpp @@ -718,6 +718,7 @@ VkBool32 isDisplaySurface (Type wsiType) case TYPE_ANDROID: case TYPE_WIN32: case TYPE_MACOS: + case TYPE_HEADLESS: return 0; case TYPE_DIRECT_DRM: return 1; -- 2.7.4