Skip to content

Commit 180d9f2

Browse files
authored
Extend function call test with a command promoted from VK_KHR_external_semaphore_capabilities (KhronosGroup#2646)
1 parent 532716b commit 180d9f2

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

tests/FunctionCalls/FunctionCalls.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2371,6 +2371,19 @@ int main()
23712371
vk::ExternalFenceProperties externalFenceProperties = physicalDevice.getExternalFenceProperties( externalFenceInfo );
23722372
}
23732373

2374+
// Promoted from VK_KHR_external_semaphore_capabilities
2375+
{
2376+
vk::PhysicalDevice physicalDevice;
2377+
vk::PhysicalDeviceExternalSemaphoreInfo externalSemaphoreInfo;
2378+
vk::ExternalSemaphoreProperties externalSemaphoreProperties;
2379+
physicalDevice.getExternalSemaphoreProperties( &externalSemaphoreInfo, &externalSemaphoreProperties );
2380+
}
2381+
{
2382+
vk::PhysicalDevice physicalDevice;
2383+
vk::PhysicalDeviceExternalSemaphoreInfo externalSemaphoreInfo;
2384+
vk::ExternalSemaphoreProperties externalSemaphoreProperties = physicalDevice.getExternalSemaphoreProperties( externalSemaphoreInfo );
2385+
}
2386+
23742387
#if 0
23752388
{
23762389
vk::PhysicalDevice physicalDevice;

tests/FunctionCallsRAII/FunctionCallsRAII.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,5 +1197,12 @@ int main()
11971197
vk::ExternalFenceProperties externalFenceProperties = physicalDevice.getExternalFenceProperties( externalFenceInfo );
11981198
}
11991199

1200+
// Promoted from VK_KHR_external_semaphore_capabilities
1201+
{
1202+
vk::raii::PhysicalDevice physicalDevice = nullptr;
1203+
vk::PhysicalDeviceExternalSemaphoreInfo externalSemaphoreInfo;
1204+
vk::ExternalSemaphoreProperties externalSemaphoreProperties = physicalDevice.getExternalSemaphoreProperties( externalSemaphoreInfo );
1205+
}
1206+
12001207
return 0;
12011208
}

0 commit comments

Comments
 (0)