mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-30 22:24:15 +01:00
[d3d11] Fixed flush order
This commit is contained in:
parent
b923a2004f
commit
51e89f00be
@ -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…
Reference in New Issue
Block a user