mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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
|
// Try to waste a bit less system memory especially in
|
||||||
// 32-bit applications due to address space constraints
|
// 32-bit applications due to address space constraints
|
||||||
if (type.propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT)
|
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
|
// Reduce the chunk size on small heaps so
|
||||||
// we can at least fit in 15 allocations
|
// we can at least fit in 15 allocations
|
||||||
|
Loading…
x
Reference in New Issue
Block a user