From c17f4e2fc0ea6b759599f31a28c7b2516b19af33 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sun, 13 May 2018 14:45:50 +0200 Subject: [PATCH] [dxvk] Increase update buffer size Helps reduce the number of memory allocations further when deferred contexts are used for rendering. --- src/d3d11/d3d11_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d11/d3d11_context.cpp b/src/d3d11/d3d11_context.cpp index 2ad872cd0..b53e8b2a9 100644 --- a/src/d3d11/d3d11_context.cpp +++ b/src/d3d11/d3d11_context.cpp @@ -3007,7 +3007,7 @@ namespace dxvk { DxvkDataSlice D3D11DeviceContext::AllocUpdateBufferSlice(size_t Size) { - constexpr size_t UpdateBufferSize = 4 * 1024 * 1024; + constexpr size_t UpdateBufferSize = 16 * 1024 * 1024; if (Size >= UpdateBufferSize) { Rc buffer = new DxvkDataBuffer(Size);