From 041faecad07df4613256ce15a47425644bf76254 Mon Sep 17 00:00:00 2001 From: Boris Zanin Date: Tue, 9 Jan 2018 15:18:11 +0100 Subject: [PATCH] Fix Windows build UINT64_MAX is undefined under Windows. Use standard workaround. Affects: dEQP-VK.synchronization.basic.semaphore.chain Components: Vulkan Vk-GL-CTS issue: 822 Change-Id: Ib65d6770dd92cc29c89b66934e147a3ef319efeb --- .../vulkan/synchronization/vktSynchronizationBasicSemaphoreTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationBasicSemaphoreTests.cpp b/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationBasicSemaphoreTests.cpp index fd02e31..f1c23a5 100644 --- a/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationBasicSemaphoreTests.cpp +++ b/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationBasicSemaphoreTests.cpp @@ -136,7 +136,7 @@ tcu::TestStatus basicChainCase (Context& context) VkSubmitInfo si = { VK_STRUCTURE_TYPE_SUBMIT_INFO, DE_NULL, 1, &semaphores.back(), &flags, 0, DE_NULL, 0, DE_NULL }; VK_CHECK(vk.queueSubmit(queue, 1, &si, fence)); - vk.waitForFences(device, 1, &fence, VK_TRUE, UINT64_MAX); + vk.waitForFences(device, 1, &fence, VK_TRUE, ~(0ull)); vk.destroyFence(device, fence, DE_NULL); -- 2.7.4