mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-04 16:24:29 +01:00
[dxvk] Only decrement pending submission count for command submissions
Otherwise we'll underflow the integer and break the D3D9 flush heuristic.
This commit is contained in:
parent
80b27f95bc
commit
0895858901
@ -215,6 +215,8 @@ namespace dxvk {
|
||||
entry.submit.cmdList->notifyObjects();
|
||||
|
||||
lock.lock();
|
||||
|
||||
if (entry.submit.cmdList != nullptr)
|
||||
m_pending -= 1;
|
||||
|
||||
m_finishQueue.pop();
|
||||
|
Loading…
Reference in New Issue
Block a user