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:
parent
d3718b1b81
commit
f5fecaf964
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue