From 2fa773e7918f3927078737f043fb10d20affffcf Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sat, 28 Sep 2024 20:44:16 +0200 Subject: [PATCH] [dxvk] Bump maximum sampler count to 4000 All sampler allocations go through the pool now, so we can do this. --- src/dxvk/dxvk_sampler.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/dxvk/dxvk_sampler.h b/src/dxvk/dxvk_sampler.h index 80589e5f..66f6a218 100644 --- a/src/dxvk/dxvk_sampler.h +++ b/src/dxvk/dxvk_sampler.h @@ -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;