mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-30 11:52:11 +01:00
[d3d11] Added missing CS thread sync for non-discard Map()
This commit is contained in:
parent
fb4663fcc8
commit
78c46f444a
@ -1655,7 +1655,7 @@ namespace dxvk {
|
||||
// submit the current command buffer in order to keep the GPU busy.
|
||||
// This also helps keep the command buffers at a reasonable size.
|
||||
if (m_drawCount >= 500)
|
||||
this->Flush();
|
||||
Flush();
|
||||
|
||||
for (UINT i = 0; i < m_state.om.renderTargetViews.size(); i++) {
|
||||
D3D11RenderTargetView* view = nullptr;
|
||||
|
@ -121,6 +121,7 @@ namespace dxvk {
|
||||
return DXGI_ERROR_WAS_STILL_DRAWING;
|
||||
|
||||
Flush();
|
||||
SynchronizeCsThread();
|
||||
SynchronizeDevice();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user