Skip to content
Permalink
Browse files

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

  • Loading branch information...
hrydgard committed Sep 2, 2019
1 parent 95367b3 commit 3af7229abc684778e4cf3465067b189642eb18c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/native/thin3d/thin3d_vulkan.cpp
@@ -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);

0 comments on commit 3af7229

Please sign in to comment.
You can’t perform that action at this time.