mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[dxvk] Reduce size up to which device-local buffers can be invalidated
This commit is contained in:
parent
db2e32ede6
commit
71e7faef69
@ -2136,7 +2136,7 @@ namespace dxvk {
|
||||
bool isHostVisible = buffer->memFlags() & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT;
|
||||
|
||||
bool replaceBuffer = (size == buffer->info().size)
|
||||
&& (size <= (1 << 20))
|
||||
&& (size <= (1 << 18))
|
||||
&& !isHostVisible;
|
||||
|
||||
DxvkBufferSliceHandle bufferSlice;
|
||||
|
Loading…
x
Reference in New Issue
Block a user