mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 16:24:12 +01:00
[d3d9] Enable bounds testing for D3DPOOL_SYSTEMMEM buffers
Improves performance in Halo CE.
This commit is contained in:
parent
d39ff9020e
commit
b4f2094c02
@ -4101,7 +4101,7 @@ namespace dxvk {
|
||||
// D3D9 does not do region tracking for READONLY locks
|
||||
// But lets also account for whether we get readback from ProcessVertices
|
||||
const bool quickRead = ((Flags & D3DLOCK_READONLY) && !pResource->GetReadLocked());
|
||||
const bool boundsCheck = IsPoolManaged(desc.Pool) && !quickRead;
|
||||
const bool boundsCheck = desc.Pool != D3DPOOL_DEFAULT && !quickRead;
|
||||
|
||||
if (boundsCheck) {
|
||||
// We can only respect this for these cases -- otherwise R/W OOB still get copied on native
|
||||
|
Loading…
Reference in New Issue
Block a user