Small hack to the descriptor pool to allocate enough resources

This commit is contained in:
Pierre Krieger 2016-03-11 15:35:12 +01:00
parent c376f3bd10
commit 39624ceb66

View File

@ -37,7 +37,15 @@ impl DescriptorPool {
vk::DescriptorPoolSize {
ty: vk::DESCRIPTOR_TYPE_INPUT_ATTACHMENT,
descriptorCount: 10,
}
},
vk::DescriptorPoolSize {
ty: vk::DESCRIPTOR_TYPE_SAMPLED_IMAGE,
descriptorCount: 10,
},
vk::DescriptorPoolSize {
ty: vk::DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
descriptorCount: 10,
},
];
let pool = unsafe {