1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-03 22:24:13 +01:00

[dxvk] Bump maximum sampler count to 4000

All sampler allocations go through the pool now, so we can do this.
This commit is contained in:
Philip Rebohle 2024-09-28 20:44:16 +02:00 committed by Philip Rebohle
parent 150c40280f
commit 2fa773e791

View File

@ -217,9 +217,8 @@ namespace dxvk {
friend DxvkSampler;
public:
// The Vulkan limit for samplers is at least 4000.
// Keep some objects available for internal use.
constexpr static uint32_t MaxSamplerCount = 3584u;
// Lower limit for sampler counts in Vulkan.
constexpr static uint32_t MaxSamplerCount = 4000u;
// Minimum number of samplers to keep alive.
constexpr static uint32_t MinSamplerCount = 1024u;