From 03fe03447f9106ad58307bf03e19acbd2aa72240 Mon Sep 17 00:00:00 2001 From: Vamsidhar Gaddam Date: Wed, 31 Jan 2018 11:23:48 +0100 Subject: [PATCH] Pass in proper pWaitDstStageMask in vktWsiSharedPresentableImageTests One of the submitInfos for a queue submit had a semaphore passed in without passing in any stage mask. This is a spec violation. Affects: dEQP-VK.wsi.android.shared_presentable_image.* Components: Vulkan VK-GL-CTS issue: 974 Change-Id: Iee2ea838e971a3610f44b8c1f765869a8a21fedb --- .../vulkancts/modules/vulkan/wsi/vktWsiSharedPresentableImageTests.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/external/vulkancts/modules/vulkan/wsi/vktWsiSharedPresentableImageTests.cpp b/external/vulkancts/modules/vulkan/wsi/vktWsiSharedPresentableImageTests.cpp index 97ee3a8..8ed1064 100644 --- a/external/vulkancts/modules/vulkan/wsi/vktWsiSharedPresentableImageTests.cpp +++ b/external/vulkancts/modules/vulkan/wsi/vktWsiSharedPresentableImageTests.cpp @@ -1055,11 +1055,12 @@ void SharedPresentableImageTestInstance::initSwapchainResources (void) VK_CHECK(m_vkd.endCommandBuffer(*commandBuffer)); + const vk::VkPipelineStageFlags waitDstStages[] = { vk::VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT }; const vk::VkSubmitInfo submitInfo = { vk::VK_STRUCTURE_TYPE_SUBMIT_INFO, DE_NULL, - 1, &*semaphore, DE_NULL, + 1, &*semaphore, waitDstStages, 1, &*commandBuffer, 0, DE_NULL, }; -- 2.7.4