| 67 | } |
| 68 | |
| 69 | VkResult FencePool::wait(uint64_t timeout) const |
| 70 | { |
| 71 | if (active_fence_count < 1 || fences.empty()) |
| 72 | { |
| 73 | return VK_SUCCESS; |
| 74 | } |
| 75 | |
| 76 | return vkWaitForFences(device.get_handle(), active_fence_count, fences.data(), true, timeout); |
| 77 | } |
| 78 | |
| 79 | VkResult FencePool::reset() |
| 80 | { |
no test coverage detected