mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxvk] Bump memory chunk size to 256 MiB.
This commit is contained in:
parent
f2950953e0
commit
15588004b4
1 changed files with 2 additions and 2 deletions
|
@ -483,8 +483,8 @@ namespace dxvk {
|
||||||
VkMemoryType type = m_memProps.memoryTypes[memTypeId];
|
VkMemoryType type = m_memProps.memoryTypes[memTypeId];
|
||||||
VkMemoryHeap heap = m_memProps.memoryHeaps[type.heapIndex];
|
VkMemoryHeap heap = m_memProps.memoryHeaps[type.heapIndex];
|
||||||
|
|
||||||
// Default to a chunk size of 128 MiB
|
// Default to a chunk size of 256 MiB
|
||||||
VkDeviceSize chunkSize = 128 << 20;
|
VkDeviceSize chunkSize = 256 << 20;
|
||||||
|
|
||||||
if (hints.test(DxvkMemoryFlag::Small))
|
if (hints.test(DxvkMemoryFlag::Small))
|
||||||
chunkSize = 16 << 20;
|
chunkSize = 16 << 20;
|
||||||
|
|
Loading…
Add table
Reference in a new issue