Recently new timeleine semaphores were added, but they were not
checking if time line semaphores are supported.
Affects:
dEQP-VK.api.external.semaphore.opaque_fd.info_timeline
dEQP-VK.api.external.semaphore.sync_fd.info_timeline
Components: Vulkan
VK-GL-CTS issue: 3510
Change-Id: Ic1029d82df6353fe831f0c791e08b7f4ca365b62
if (params.semaphoreType == vk::VK_SEMAPHORE_TYPE_TIMELINE)
{
+ context.requireDeviceFunctionality("VK_KHR_timeline_semaphore");
+
if (properties.compatibleHandleTypes & vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT)
return tcu::TestStatus::fail("Timeline semaphores are not compatible with SYNC_FD");