[dxvk] Allow large sysmem allocations on 64-bit platforms again

Since we frequently discard staging buffers now, having larger chunks
is actually beneficial again.
This commit is contained in:
Philip Rebohle 2022-02-12 17:23:26 +01:00
parent d262bebd90
commit 9d4be00fa7
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ namespace dxvk {
// Try to waste a bit less system memory especially in
// 32-bit applications due to address space constraints
if (type.propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT)
chunkSize = 16 << 20;
chunkSize = (env::is32BitHostPlatform() ? 16 : 64) << 20;
// Reduce the chunk size on small heaps so
// we can at least fit in 15 allocations