1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[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.
This commit is contained in:
Philip Rebohle 2019-07-04 20:37:53 +02:00
parent 3b1376b2fe
commit f6dbf5bbf0
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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: