Vulkan: Can have a normal-sized descriptor pool now.

This commit is contained in:
Pierre-Loup A. Griffais 2019-12-16 23:40:21 -08:00 committed by Pierre-Loup A. Griffais
parent 7f4d791c20
commit 4209391fe1

View file

@ -20,6 +20,8 @@ std::vector< const char * > g_vecSDLInstanceExts;
VkInstance instance;
#define k_nMaxSets 8 // should only need one or two per output tops
struct VulkanOutput_t
{
VkSurfaceKHR surface;
@ -501,11 +503,6 @@ int init_device()
return false;
}
// probably hard to hit that even with 3 overlays, and a bunch of tracked windows
// famous last words
//#define k_nMaxSets 20
#define k_nMaxSets 20000 // don't have time to cache or free stuff
VkDescriptorPoolSize descriptorPoolSize[] = {
{
VK_DESCRIPTOR_TYPE_STORAGE_IMAGE,