Skip to content

Commit 63500fc

Browse files
committed
Fix pool sizes
1 parent f4d6bcf commit 63500fc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

examples/inputattachments/inputattachments.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,7 @@ class VulkanExample : public VulkanExampleBase
358358
Pool
359359
*/
360360
std::vector<VkDescriptorPoolSize> poolSizes = {
361-
vks::initializers::descriptorPoolSize(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, maxConcurrentFrames),
362-
//vks::initializers::descriptorPoolSize(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, static_cast<uint32_t>(attachments.size()) + 1),
361+
vks::initializers::descriptorPoolSize(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, maxConcurrentFrames * 2),
363362
vks::initializers::descriptorPoolSize(VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, maxConcurrentFrames * 2),
364363
};
365364
VkDescriptorPoolCreateInfo descriptorPoolInfo = vks::initializers::descriptorPoolCreateInfo(static_cast<uint32_t>(poolSizes.size()), poolSizes.data(), maxConcurrentFrames * 2);

0 commit comments

Comments
 (0)