| 1442 | } |
| 1443 | |
| 1444 | void GPUContextVulkan::Flush() |
| 1445 | { |
| 1446 | // Flush remaining and buffered commands |
| 1447 | FlushState(); |
| 1448 | _currentState = nullptr; |
| 1449 | _currentCompute = nullptr; |
| 1450 | |
| 1451 | // Execute commands |
| 1452 | _cmdBufferManager->SubmitActiveCmdBuffer(); |
| 1453 | _cmdBufferManager->GetNewActiveCommandBuffer(); |
| 1454 | ASSERT(_cmdBufferManager->HasPendingActiveCmdBuffer() && _cmdBufferManager->GetActiveCmdBuffer()->GetState() == CmdBufferVulkan::State::IsInsideBegin); |
| 1455 | } |
| 1456 | |
| 1457 | void GPUContextVulkan::UpdateBuffer(GPUBuffer* buffer, const void* data, uint32 size, uint32 offset) |
| 1458 | { |
no test coverage detected