| 789 | } |
| 790 | |
| 791 | void GPUContextVulkan::FrameEnd() |
| 792 | { |
| 793 | const auto cmdBuffer = GetCmdBufferManager()->GetActiveCmdBuffer(); |
| 794 | if (cmdBuffer && cmdBuffer->IsInsideRenderPass()) |
| 795 | { |
| 796 | EndRenderPass(); |
| 797 | } |
| 798 | |
| 799 | // Execute any queued layout transitions that weren't already handled by the render pass |
| 800 | FlushBarriers(); |
| 801 | |
| 802 | #if GPU_ENABLE_TRACY |
| 803 | if (cmdBuffer) |
| 804 | tracy::CollectVkContext(_tracyContext, cmdBuffer->GetHandle()); |
| 805 | #endif |
| 806 | |
| 807 | // Base |
| 808 | GPUContext::FrameEnd(); |
| 809 | } |
| 810 | |
| 811 | #if GPU_ALLOW_PROFILE_EVENTS |
| 812 |
no test coverage detected