mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-05 01:24:14 +01:00
[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:
parent
d262bebd90
commit
9d4be00fa7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user