From a83028f213f251e4f8a45160990aaf561fd5edad Mon Sep 17 00:00:00 2001 From: Alexander Galazin Date: Fri, 11 Oct 2019 10:45:43 +0200 Subject: [PATCH] Fix SEMAPHORE_TYPE_TIMELINE enum Components: Vulkan Change-Id: Id4949383bed578436e321c621a8ff495157da895 --- .../modules/vulkan/synchronization/vktSynchronizationSmokeTests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationSmokeTests.cpp b/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationSmokeTests.cpp index 5eb7422..35a594d 100644 --- a/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationSmokeTests.cpp +++ b/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationSmokeTests.cpp @@ -1159,12 +1159,12 @@ tcu::TestStatus testSemaphores (Context& context, VkSemaphoreTypeKHR semaphoreTy submitInfo[0].pSignalSemaphores = &semaphore.get(); timelineSubmitInfo[0].pSignalSemaphoreValues = &timelineValue; timelineSubmitInfo[0].signalSemaphoreValueCount = 1; - submitInfo[0].pNext = (semaphoreType == VK_SEMAPHORE_TYPE_TIMELINE ? &timelineSubmitInfo[0] : DE_NULL); + submitInfo[0].pNext = (semaphoreType == VK_SEMAPHORE_TYPE_TIMELINE_KHR ? &timelineSubmitInfo[0] : DE_NULL); submitInfo[1].waitSemaphoreCount = 1; submitInfo[1].pWaitSemaphores = &semaphore.get(); timelineSubmitInfo[1].pWaitSemaphoreValues = &timelineValue; timelineSubmitInfo[1].waitSemaphoreValueCount = 1; - submitInfo[1].pNext = (semaphoreType == VK_SEMAPHORE_TYPE_TIMELINE ? &timelineSubmitInfo[1] : DE_NULL); + submitInfo[1].pNext = (semaphoreType == VK_SEMAPHORE_TYPE_TIMELINE_KHR ? &timelineSubmitInfo[1] : DE_NULL); submitInfo[1].pWaitDstStageMask = &waitDstStageMask; VK_CHECK(deviceInterface.queueSubmit(queue[0], 1, &submitInfo[0], testContext1.fences[0])); -- 2.7.4