From 4209391fe13e942157d479c6142bc4890c6c95af Mon Sep 17 00:00:00 2001 From: "Pierre-Loup A. Griffais" Date: Mon, 16 Dec 2019 23:40:21 -0800 Subject: [PATCH] Vulkan: Can have a normal-sized descriptor pool now. --- src/rendervulkan.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/rendervulkan.cpp b/src/rendervulkan.cpp index 3a07798..606a9a8 100644 --- a/src/rendervulkan.cpp +++ b/src/rendervulkan.cpp @@ -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,