mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Fix missing queue use in FlushLists call
This commit is contained in:
@@ -4777,14 +4777,14 @@ void WrappedID3D12Device::ExecuteLists(WrappedID3D12CommandQueue *queue, bool In
|
||||
m_InternalCmds.pendingcmds.clear();
|
||||
}
|
||||
|
||||
void WrappedID3D12Device::FlushLists(bool forceSync, ID3D12CommandQueue *queue)
|
||||
void WrappedID3D12Device::FlushLists(bool forceSync)
|
||||
{
|
||||
if(HasFatalError())
|
||||
return;
|
||||
|
||||
if(!m_InternalCmds.submittedcmds.empty() || forceSync)
|
||||
{
|
||||
QueueWaitForIdle(queue, m_WFIFence);
|
||||
QueueWaitForIdle(m_Queue, m_WFIFence);
|
||||
|
||||
if(!m_InternalCmds.submittedcmds.empty())
|
||||
m_InternalCmds.freecmds.append(m_InternalCmds.submittedcmds);
|
||||
|
||||
@@ -1069,7 +1069,7 @@ public:
|
||||
bool InFrameCaptureBoundary = false);
|
||||
void MarkListExecuted(ID3D12GraphicsCommandListX *list);
|
||||
void ExecuteLists(WrappedID3D12CommandQueue *queue = NULL, bool InFrameCaptureBoundary = false);
|
||||
void FlushLists(bool forceSync = false, ID3D12CommandQueue *queue = NULL);
|
||||
void FlushLists(bool forceSync = false);
|
||||
|
||||
void DataUploadSync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user