[dxvk] Reduce size up to which device-local buffers can be invalidated

This commit is contained in:
Philip Rebohle 2022-01-13 17:01:02 +01:00
parent db2e32ede6
commit 71e7faef69
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 1 additions and 1 deletions

View File

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