VideoBackends:Vulkan: Fix 0 size descriptor pools

[ VUID-VkDescriptorPoolCreateInfo-maxSets-00301 ] Object 0:
handle = 0x7f1,b8d,3cd,e70, type = VK_OBJECT_TYPE_DEVICE; |
MessageID = 0xa1,70e,236 | vkCreateDescriptorPool():
pCreateInfo->maxSets is not greater than 0.
The Vulkan spec states: maxSets must be greater than 0
This commit is contained in:
Robin Kertels 2022-10-31 21:36:15 +01:00
parent d3718b1b81
commit f5fecaf964
No known key found for this signature in database
GPG Key ID: 3824904F14D40757
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ private:
Common::Flag m_last_present_failed;
VkResult m_last_present_result = VK_SUCCESS;
bool m_use_threaded_submission = false;
u32 m_descriptor_set_count = 0;
u32 m_descriptor_set_count = DESCRIPTOR_SETS_PER_POOL;
};
extern std::unique_ptr<CommandBufferManager> g_command_buffer_mgr;