From f6dbf5bbf045d0ab3018a0804c3d66d54a98b042 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 4 Jul 2019 20:37:53 +0200 Subject: [PATCH] [dxvk] Increase staging buffer size to 32 MiB Since the chunk size was also doubled to 128 MiB and we want staging buffers to get their own allocations. --- src/dxvk/dxvk_staging.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_staging.h b/src/dxvk/dxvk_staging.h index b4156c38b..8eccd4f5d 100644 --- a/src/dxvk/dxvk_staging.h +++ b/src/dxvk/dxvk_staging.h @@ -16,7 +16,7 @@ namespace dxvk { * but also the amount of allocated memory low. */ class DxvkStagingDataAlloc { - constexpr static VkDeviceSize MaxBufferSize = 1 << 24; // 16 MiB + constexpr static VkDeviceSize MaxBufferSize = 1 << 25; // 32 MiB constexpr static uint32_t MaxBufferCount = 2; public: