Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,11 @@ namespace D3D11On12
auto* pCommandListManager = ImmCtx.GetCommandListManager(static_cast<D3D12TranslationLayer::COMMAND_LIST_TYPE>(i));
if (pCommandListManager)
{
if(pCommandListManager->GetCommandQueue() == pCommmandQueue)
{
// Don't wait on the queue owned by the command list manager. This would cause a wait to be placed before the signal, causing a deadlock.
continue;
}
UINT64 WaitValue = pResource->m_LastUsedCommandListID[i];

if (WaitValue > pCommandListManager->GetCompletedFenceValue())
Expand Down
Loading