| 996 | } |
| 997 | |
| 998 | VkResult Semaphore::WaitKHR(uint64_t value, uint64_t timeout) { |
| 999 | VkSemaphoreWaitInfoKHR wait_info = vku::InitStructHelper(); |
| 1000 | wait_info.semaphoreCount = 1; |
| 1001 | wait_info.pSemaphores = &handle(); |
| 1002 | wait_info.pValues = &value; |
| 1003 | VkResult result = vk::WaitSemaphoresKHR(device(), &wait_info, timeout); |
| 1004 | return result; |
| 1005 | } |
| 1006 | |
| 1007 | VkResult Semaphore::Signal(uint64_t value) { |
| 1008 | VkSemaphoreSignalInfo signal_info = vku::InitStructHelper(); |
no test coverage detected