commit | 0ff275a23fd37aad72e8e6d7f8e5767cb4901174 | [log] [tgz] |
---|---|---|
author | Igor Ostrowski <igor.ostrowski@intel.com> | Thu Sep 26 15:09:28 2019 +0200 |
committer | Alexander Galazin <Alexander.Galazin@arm.com> | Tue Oct 08 13:42:56 2019 -0400 |
tree | bae43cca4dd2955e0d304718243db6f81c034c18 | |
parent | b3b6fe0295a0c3b87cfacb6773e51172a80d2a11 [diff] |
Check timeline semaphore features only when used. Affects: dEQP-VK.synchronization.op.multi_queue.* Components: Vulkan VK-GL-CTS issue: 2025 Change-Id: I8c586bcb0199ab00fe6fffb9290abd2b06523916 (cherry picked from commit c20bf2e3023cb209ae3ec04b6e6339f8c3930dfb)
diff --git a/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationOperationMultiQueueTests.cpp b/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationOperationMultiQueueTests.cpp index 212059b..102c46f 100644 --- a/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationOperationMultiQueueTests.cpp +++ b/external/vulkancts/modules/vulkan/synchronization/vktSynchronizationOperationMultiQueueTests.cpp
@@ -155,7 +155,7 @@ &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);