From 838098f5b6e913f8decdf2e7695e9701451a336e Mon Sep 17 00:00:00 2001 From: Fabio Date: Thu, 25 Jul 2019 17:08:16 +0200 Subject: [PATCH] Update device_group test to ignore VK_SUBOPTIMAL_KHR The transform used to create the swapchain does not match the surface rotation. This causes vkQueuePresentKHR to return VK_SUBOPTIMAL_KHR. This return code can be ignored. Components: Vulkan VK-GL-CTS Issue: 1899 Affects: dEQP-VK.wsi.android.swapchain.render.device_group Change-Id: I27d8e61007dd049b8e9cc532918056b8493a9b52 --- external/vulkancts/modules/vulkan/wsi/vktWsiSwapchainTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/vulkancts/modules/vulkan/wsi/vktWsiSwapchainTests.cpp b/external/vulkancts/modules/vulkan/wsi/vktWsiSwapchainTests.cpp index d634ebd..ba53381 100644 --- a/external/vulkancts/modules/vulkan/wsi/vktWsiSwapchainTests.cpp +++ b/external/vulkancts/modules/vulkan/wsi/vktWsiSwapchainTests.cpp @@ -1705,7 +1705,7 @@ tcu::TestStatus deviceGroupRenderTest (Context& context, Type wsiType) &imageNdx, (VkResult*)DE_NULL }; - VK_CHECK(vkd.queuePresentKHR(queue, &presentInfo)); + VK_CHECK_WSI(vkd.queuePresentKHR(queue, &presentInfo)); } } -- 2.7.4