Add profiler wait event for GPU wait on D3D12

This commit is contained in:
Wojtek Figat
2025-12-10 13:01:24 +01:00
parent 43665aa7eb
commit 20a7fcf6a0

View File

@@ -143,6 +143,8 @@ void CommandQueueDX12::WaitForFence(uint64 fenceValue)
void CommandQueueDX12::WaitForGPU()
{
PROFILE_CPU();
ZoneColor(TracyWaitZoneColor);
const uint64 value = _fence.Signal(this);
_fence.WaitCPU(value);
}