From 420b7218aeae39710bd003454aad6c3c8ad17ab5 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 6 Jun 2018 23:47:43 +0200 Subject: [PATCH] Revert "[dxvk] Increase memory chunk size to 32 MiB" This reverts commit 83ae39f727d7aeb43cef277082bcb42093530779. Does not show any considerable advantage over the 16 MiB chunk size and reduces the effectiveness of the host-visible device-local memory type on AMD cards. --- src/dxvk/dxvk_memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_memory.h b/src/dxvk/dxvk_memory.h index 6af899b3..b6198882 100644 --- a/src/dxvk/dxvk_memory.h +++ b/src/dxvk/dxvk_memory.h @@ -251,7 +251,7 @@ namespace dxvk { private: - constexpr static VkDeviceSize ChunkSize = 32 * 1024 * 1024; + constexpr static VkDeviceSize ChunkSize = 16 * 1024 * 1024; const Rc m_vkd; const VkPhysicalDeviceProperties m_devProps;