(Vulkan) Double combined image sampler descriptor pool size (#13467)

This commit is contained in:
Colin Kinloch 2022-01-10 08:10:11 +00:00 committed by GitHub
parent ad4f6176ff
commit 3e3cf904ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -669,7 +669,7 @@ static void vulkan_init_descriptor_pool(vk_t *vk)
unsigned i;
static const VkDescriptorPoolSize pool_sizes[2] = {
{ VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, VULKAN_DESCRIPTOR_MANAGER_BLOCK_SETS },
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VULKAN_DESCRIPTOR_MANAGER_BLOCK_SETS },
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VULKAN_DESCRIPTOR_MANAGER_BLOCK_SETS * 2 },
};
for (i = 0; i < vk->num_swapchain_images; i++)