mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-13 16:08:50 +01:00
[d3d9] Do implicit flush after uploading textures or buffers
This commit is contained in:
parent
f031ce44cf
commit
8feabc653e
@ -4533,6 +4533,7 @@ namespace dxvk {
|
|||||||
slice.slice);
|
slice.slice);
|
||||||
}
|
}
|
||||||
UnmapTextures();
|
UnmapTextures();
|
||||||
|
FlushImplicit(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void D3D9DeviceEx::EmitGenerateMips(
|
void D3D9DeviceEx::EmitGenerateMips(
|
||||||
@ -4688,6 +4689,7 @@ namespace dxvk {
|
|||||||
TrackBufferMappingBufferSequenceNumber(pResource);
|
TrackBufferMappingBufferSequenceNumber(pResource);
|
||||||
|
|
||||||
UnmapTextures();
|
UnmapTextures();
|
||||||
|
FlushImplicit(false);
|
||||||
return D3D_OK;
|
return D3D_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4710,8 +4712,6 @@ namespace dxvk {
|
|||||||
if (pResource->Desc()->Pool != D3DPOOL_DEFAULT)
|
if (pResource->Desc()->Pool != D3DPOOL_DEFAULT)
|
||||||
return D3D_OK;
|
return D3D_OK;
|
||||||
|
|
||||||
FlushImplicit(FALSE);
|
|
||||||
|
|
||||||
FlushBuffer(pResource);
|
FlushBuffer(pResource);
|
||||||
|
|
||||||
return D3D_OK;
|
return D3D_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user