[dxvk] Reduce maximum size of multi-slice buffers

This commit is contained in:
Philip Rebohle 2022-01-13 18:39:14 +01:00
parent 71e7faef69
commit 08c7bab431
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ namespace dxvk {
m_physSliceCount = std::max<VkDeviceSize>(1, 256 / m_physSliceStride);
// Limit size of multi-slice buffers to reduce fragmentation
constexpr VkDeviceSize MaxBufferSize = 4 << 20;
constexpr VkDeviceSize MaxBufferSize = 256 << 10;
m_physSliceMaxCount = MaxBufferSize >= m_physSliceStride
? MaxBufferSize / m_physSliceStride