Components: Vulkan
VK-GL-CTS Issue: 2572
Affects:
dEQP-VK.synchronization.op.multi_queue.*
dEQP-VK.synchronization.smoke.timeline_semaphores
Change-Id: I9829ae9f09ca3a45c6ce7a6aad5ad21c6caad3cd
deUint32 maxQueues = 0;
std::vector<deUint32> queueFamilies;
+ if (!context.getTimelineSemaphoreFeatures().timelineSemaphore)
+ TCU_THROW(NotSupportedError, "Timeline semaphore not supported");
+
if (m_queues->totalQueueCount() < 2)
TCU_THROW(NotSupportedError, "Not enough queues");
tcu::TestStatus testSemaphores (Context& context, VkSemaphoreType semaphoreType)
{
+ if (semaphoreType == VK_SEMAPHORE_TYPE_TIMELINE_KHR && !context.getTimelineSemaphoreFeatures().timelineSemaphore)
+ TCU_THROW(NotSupportedError, "Timeline semaphore not supported");
+
TestLog& log = context.getTestContext().getLog();
const PlatformInterface& platformInterface = context.getPlatformInterface();
const InstanceInterface& instanceInterface = context.getInstanceInterface();