1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[dxvk] Increase update buffer size

Helps reduce the number of memory allocations further
when deferred contexts are used for rendering.
This commit is contained in:
Philip Rebohle 2018-05-13 14:45:50 +02:00
parent 9d4654f445
commit c17f4e2fc0
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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<DxvkDataBuffer> buffer = new DxvkDataBuffer(Size);