Bump up the descriptor pool size for the UI. Should fix #12299.

This commit is contained in:
Henrik Rydgård 2019-09-02 18:39:10 +02:00
parent 95367b34c9
commit 3af7229abc

View file

@ -805,7 +805,7 @@ VKContext::VKContext(VulkanContext *vulkan, bool splitSubmit)
VkDescriptorPoolCreateInfo dp{ VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO };
dp.flags = 0; // Don't want to mess around with individually freeing these, let's go dynamic each frame.
dp.maxSets = 200; // 200 textures per frame should be enough for the UI...
dp.maxSets = 4096; // 200 textures per frame was not enough for the UI.
dp.pPoolSizes = dpTypes;
dp.poolSizeCount = ARRAY_SIZE(dpTypes);