mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[dxvk] Reduce maximum size of multi-slice buffers
This commit is contained in:
parent
71e7faef69
commit
08c7bab431
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user