| 811 | #if GPU_ALLOW_PROFILE_EVENTS |
| 812 | |
| 813 | void GPUContextVulkan::EventBegin(const Char* name) |
| 814 | { |
| 815 | const auto cmdBuffer = _cmdBufferManager->GetCmdBuffer(); |
| 816 | #if COMPILE_WITH_PROFILER |
| 817 | void* tracyContext = _tracyContext; |
| 818 | #else |
| 819 | void* tracyContext = nullptr; |
| 820 | #endif |
| 821 | cmdBuffer->BeginEvent(name, tracyContext); |
| 822 | } |
| 823 | |
| 824 | void GPUContextVulkan::EventEnd() |
| 825 | { |
no test coverage detected