From 8feabc653e0b74c5344d3441c60a73bdb902c2c9 Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Mon, 8 Aug 2022 17:14:05 +0200 Subject: [PATCH] [d3d9] Do implicit flush after uploading textures or buffers --- src/d3d9/d3d9_device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 99fb0e1b..561a6436 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -4533,6 +4533,7 @@ namespace dxvk { slice.slice); } UnmapTextures(); + FlushImplicit(false); } void D3D9DeviceEx::EmitGenerateMips( @@ -4688,6 +4689,7 @@ namespace dxvk { TrackBufferMappingBufferSequenceNumber(pResource); UnmapTextures(); + FlushImplicit(false); return D3D_OK; } @@ -4710,8 +4712,6 @@ namespace dxvk { if (pResource->Desc()->Pool != D3DPOOL_DEFAULT) return D3D_OK; - FlushImplicit(FALSE); - FlushBuffer(pResource); return D3D_OK;