VulkanSceneGraph icon indicating copy to clipboard operation
VulkanSceneGraph copied to clipboard

from Context.cpp: Warning: Context::reserve(const ResourceRequirements& requirements) invalid combination...

Open timoore opened this issue 10 months ago • 6 comments

While running vsgCs, I've recently started seeing this warning from Context.cpp: Warning: Context::reserve(const ResourceRequirements& requirements) invalid combination of required_maxSets (0) & required_descriptorPoolSizes (2) unable to allocate DescriptorPool.

I don't know this code well, but I think it means that all the existing descriptor pools have hit their limit on number of descriptor sets. Rendering is still working, as far as I can see.

Incidently, I was surprised that a new descriptor pool is allocated essentially for every BindDescriptorSet command. The common Vulkan usage is to a few large pools. I don't know if there's any real problem doing it the VSG way.

timoore avatar Sep 06 '23 18:09 timoore