Vulkan: Can have a normal-sized descriptor pool now.
This commit is contained in:
parent
7f4d791c20
commit
4209391fe1
1 changed files with 2 additions and 5 deletions
|
@ -20,6 +20,8 @@ std::vector< const char * > g_vecSDLInstanceExts;
|
||||||
|
|
||||||
VkInstance instance;
|
VkInstance instance;
|
||||||
|
|
||||||
|
#define k_nMaxSets 8 // should only need one or two per output tops
|
||||||
|
|
||||||
struct VulkanOutput_t
|
struct VulkanOutput_t
|
||||||
{
|
{
|
||||||
VkSurfaceKHR surface;
|
VkSurfaceKHR surface;
|
||||||
|
@ -501,11 +503,6 @@ int init_device()
|
||||||
return false;
|
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[] = {
|
VkDescriptorPoolSize descriptorPoolSize[] = {
|
||||||
{
|
{
|
||||||
VK_DESCRIPTOR_TYPE_STORAGE_IMAGE,
|
VK_DESCRIPTOR_TYPE_STORAGE_IMAGE,
|
||||||
|
|
Loading…
Reference in a new issue