| 77 | } |
| 78 | |
| 79 | VkResult FencePool::reset() |
| 80 | { |
| 81 | if (active_fence_count < 1 || fences.empty()) |
| 82 | { |
| 83 | return VK_SUCCESS; |
| 84 | } |
| 85 | |
| 86 | VkResult result = vkResetFences(device.get_handle(), active_fence_count, fences.data()); |
| 87 | |
| 88 | if (result != VK_SUCCESS) |
| 89 | { |
| 90 | return result; |
| 91 | } |
| 92 | |
| 93 | active_fence_count = 0; |
| 94 | |
| 95 | return VK_SUCCESS; |
| 96 | } |
| 97 | } // namespace vkb |
nothing calls this directly
no test coverage detected