VulkanRenderer: Fix descriptor pool sizes when using arrays
This commit is contained in:
parent
d3899d71f3
commit
ea4b8eaaea
|
|
@ -101,7 +101,7 @@ namespace Nz
|
|||
for (const auto& bindingInfo : m_layoutInfo.bindings)
|
||||
{
|
||||
VkDescriptorPoolSize& poolSize = poolSizes.emplace_back();
|
||||
poolSize.descriptorCount = MaxSet;
|
||||
poolSize.descriptorCount = MaxSet * bindingInfo.arraySize;
|
||||
poolSize.type = ToVulkan(bindingInfo.type);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue