From 20a7fcf6a0accd31cf1ba4fa43a4bff379d90096 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 10 Dec 2025 13:01:24 +0100 Subject: [PATCH] Add profiler wait event for GPU wait on D3D12 --- Source/Engine/GraphicsDevice/DirectX/DX12/CommandQueueDX12.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Engine/GraphicsDevice/DirectX/DX12/CommandQueueDX12.cpp b/Source/Engine/GraphicsDevice/DirectX/DX12/CommandQueueDX12.cpp index 81fef4965..a384b6383 100644 --- a/Source/Engine/GraphicsDevice/DirectX/DX12/CommandQueueDX12.cpp +++ b/Source/Engine/GraphicsDevice/DirectX/DX12/CommandQueueDX12.cpp @@ -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); }