vulkanrender: Create descriptor pools with correct descriptor number

This commit is contained in:
Georges Basile Stavracas Neto 2017-01-06 02:39:03 -02:00
parent fc1cfd569a
commit 33a6347766

View File

@ -121,7 +121,7 @@ gsk_vulkan_render_new (GskRenderer *renderer,
.pPoolSizes = (VkDescriptorPoolSize[1]) {
{
.type = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
.descriptorCount = 1
.descriptorCount = self->descriptor_pool_maxsets
}
}
},
@ -403,7 +403,7 @@ gsk_vulkan_render_prepare_descriptor_sets (GskVulkanRender *self,
.pPoolSizes = (VkDescriptorPoolSize[1]) {
{
.type = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
.descriptorCount = 1
.descriptorCount = self->descriptor_pool_maxsets
}
}
},