1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-05 01:24:14 +01:00

[dxvk] Bump memory chunk size to 256 MiB.

This commit is contained in:
Philip Rebohle 2022-09-22 02:32:20 +02:00
parent f2950953e0
commit 15588004b4

View File

@ -483,8 +483,8 @@ namespace dxvk {
VkMemoryType type = m_memProps.memoryTypes[memTypeId];
VkMemoryHeap heap = m_memProps.memoryHeaps[type.heapIndex];
// Default to a chunk size of 128 MiB
VkDeviceSize chunkSize = 128 << 20;
// Default to a chunk size of 256 MiB
VkDeviceSize chunkSize = 256 << 20;
if (hints.test(DxvkMemoryFlag::Small))
chunkSize = 16 << 20;