mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 15:15:40 +00:00
VulkanDevice: Fix persistent descriptor allocation error
This commit is contained in:
parent
6a53929e31
commit
d6cf88c14f
|
@ -744,8 +744,9 @@ bool VulkanDevice::CreatePersistentDescriptorPool()
|
|||
{VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 16},
|
||||
};
|
||||
|
||||
const VkDescriptorPoolCreateInfo pool_create_info = {VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO, nullptr,
|
||||
VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 16,
|
||||
const VkDescriptorPoolCreateInfo pool_create_info = {
|
||||
VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO, nullptr,
|
||||
VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, MAX_SAMPLER_DESCRIPTORS,
|
||||
static_cast<u32>(std::size(pool_sizes)), pool_sizes};
|
||||
|
||||
VkResult res = vkCreateDescriptorPool(m_device, &pool_create_info, nullptr, &m_global_descriptor_pool);
|
||||
|
|
Loading…
Reference in a new issue