From c20bf2e3023cb209ae3ec04b6e6339f8c3930dfb Mon Sep 17 00:00:00 2001 From: Igor Ostrowski Date: Thu, 26 Sep 2019 15:09:28 +0200 Subject: [PATCH] Check timeline semaphore features only when used. Affects: dEQP-VK.synchronization.op.multi_queue.* Components: Vulkan VK-GL-CTS issue: 2025 Change-Id: I8c586bcb0199ab00fe6fffb9290abd2b06523916 --- .../synchronization/vktSynchronizationOperationMultiQueueTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationOperationMultiQueueTests.cpp b/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationOperationMultiQueueTests.cpp index 3cca8ce..8c7c3c6 100644 --- a/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationOperationMultiQueueTests.cpp +++ b/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationOperationMultiQueueTests.cpp @@ -155,7 +155,7 @@ class MultiQueues &context.getDeviceFeatures() //const VkPhysicalDeviceFeatures* pEnabledFeatures; }; - if (!context.getTimelineSemaphoreFeatures().timelineSemaphore) + if (timelineSemaphore && !context.getTimelineSemaphoreFeatures().timelineSemaphore) TCU_THROW(NotSupportedError, "Timeline semaphore not supported"); m_logicalDevice = createDevice(context.getPlatformInterface(), context.getInstance(), instance, physicalDevice, &deviceInfo); -- 2.7.4