forked from AuroraMiddleware/gtk
vulkanrender: Create descriptor pools with correct descriptor number
This commit is contained in:
parent
fc1cfd569a
commit
33a6347766
@ -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
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user