From 3af7229abc684778e4cf3465067b189642eb18c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 2 Sep 2019 18:39:10 +0200 Subject: [PATCH] Bump up the descriptor pool size for the UI. Should fix #12299. --- ext/native/thin3d/thin3d_vulkan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/native/thin3d/thin3d_vulkan.cpp b/ext/native/thin3d/thin3d_vulkan.cpp index a0f384f149..960f224180 100644 --- a/ext/native/thin3d/thin3d_vulkan.cpp +++ b/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);