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:
parent
9d4654f445
commit
c17f4e2fc0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user