mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d11] Fixed flush order
This commit is contained in:
parent
b923a2004f
commit
51e89f00be
1 changed files with 4 additions and 2 deletions
|
@ -41,11 +41,11 @@ namespace dxvk {
|
|||
|
||||
|
||||
void STDMETHODCALLTYPE D3D11ImmediateContext::Flush() {
|
||||
EmitCsChunk();
|
||||
|
||||
m_parent->FlushInitContext();
|
||||
m_drawCount = 0;
|
||||
|
||||
// Add commands to flush the threaded
|
||||
// context, then flush the command list
|
||||
EmitCs([dev = m_device] (DxvkContext* ctx) {
|
||||
dev->submitCommandList(
|
||||
ctx->endRecording(),
|
||||
|
@ -54,6 +54,8 @@ namespace dxvk {
|
|||
ctx->beginRecording(
|
||||
dev->createCommandList());
|
||||
});
|
||||
|
||||
EmitCsChunk();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue