| 137 | #endif |
| 138 | |
| 139 | void CmdBufferVulkan::Wait(float timeoutSeconds) |
| 140 | { |
| 141 | if (!IsSubmitted()) |
| 142 | return; |
| 143 | PROFILE_CPU(); |
| 144 | const bool failed = _device->FenceManager.WaitForFence(GetFence(), timeoutSeconds); |
| 145 | ASSERT(!failed); |
| 146 | RefreshFenceStatus(); |
| 147 | } |
| 148 | |
| 149 | void CmdBufferVulkan::RefreshFenceStatus() |
| 150 | { |
no test coverage detected