mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 23:05:43 +00:00
Small hack to the descriptor pool to allocate enough resources
This commit is contained in:
parent
c376f3bd10
commit
39624ceb66
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user