From ee91a878734b304a113eb4927668d4936cd7696c Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Sun, 4 Aug 2024 15:07:23 -0300 Subject: [PATCH] vulkan: fix descriptor pool sizes with arrays of samplers. --- src/modules/graphics/vulkan/Shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/vulkan/Shader.cpp b/src/modules/graphics/vulkan/Shader.cpp index a58239134..edd290b57 100644 --- a/src/modules/graphics/vulkan/Shader.cpp +++ b/src/modules/graphics/vulkan/Shader.cpp @@ -1073,7 +1073,7 @@ void Shader::createDescriptorPoolSizes() continue; size.type = type; - size.descriptorCount = 1; + size.descriptorCount = entry.second->count; descriptorPoolSizes.push_back(size); } }