1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-12 13:08:50 +01:00

[d3d9] Do implicit flush after uploading textures or buffers

This commit is contained in:
Robin Kertels 2022-08-08 17:14:05 +02:00 committed by Philip Rebohle
parent f031ce44cf
commit 8feabc653e

View File

@ -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;