[idd] driver: make indirectCopy functional

This commit is contained in:
Geoffrey McRae
2025-03-28 14:11:48 +00:00
parent 6a4edfc6b6
commit 15eff234ec
7 changed files with 44 additions and 6 deletions

View File

@@ -216,5 +216,8 @@ void CSwapChainProcessor::SwapChainNewFrame(ComPtr<IDXGIResource> acquiredBuffer
m_dx12Device->GetCopyQueue().Wait();
m_dx12Device->GetCopyQueue().Reset();
m_devContext->FinalizeFrameBuffer();
if (m_dx12Device->IsIndirectCopy())
m_devContext->WriteFrameBuffer(fbRes->GetMap(), 0, fbRes->GetSize(), true);
else
m_devContext->FinalizeFrameBuffer();
}