From: Fabio Date: Thu, 25 Jul 2019 15:08:16 +0000 (+0200) Subject: Update device_group test to ignore VK_SUBOPTIMAL_KHR X-Git-Tag: upstream/1.3.5~1811^2^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=838098f5b6e913f8decdf2e7695e9701451a336e;p=platform%2Fupstream%2FVK-GL-CTS.git 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 --- 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)); } }