mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[D3D12] Profile GPU time via BeginFrame
This commit is contained in:
parent
6d48b856b9
commit
629a8e0e25
|
|
@ -1067,6 +1067,10 @@ bool D3D12CommandProcessor::BeginFrame() {
|
|||
return false;
|
||||
}
|
||||
|
||||
#if FINE_GRAINED_DRAW_SCOPES
|
||||
SCOPE_profile_cpu_f("gpu");
|
||||
#endif // FINE_GRAINED_DRAW_SCOPES
|
||||
|
||||
auto context = GetD3D12Context();
|
||||
context->BeginSwap();
|
||||
current_queue_frame_ = context->GetCurrentQueueFrame();
|
||||
|
|
|
|||
Loading…
Reference in a new issue