| 1021 | } |
| 1022 | |
| 1023 | uint64_t Semaphore::GetCounterValue(bool use_khr) const { |
| 1024 | uint64_t counter = 0; |
| 1025 | if (use_khr) { |
| 1026 | vk::GetSemaphoreCounterValueKHR(device(), handle(), &counter); |
| 1027 | } else { |
| 1028 | vk::GetSemaphoreCounterValue(device(), handle(), &counter); |
| 1029 | } |
| 1030 | return counter; |
| 1031 | } |
| 1032 | |
| 1033 | #ifdef VK_USE_PLATFORM_WIN32_KHR |
| 1034 | VkResult Semaphore::ExportHandle(HANDLE& win32_handle, VkExternalSemaphoreHandleTypeFlagBits handle_type) { |
no test coverage detected