mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d9] Do implicit flush after uploading textures or buffers
This commit is contained in:
parent
f031ce44cf
commit
8feabc653e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue