From 3156881787a4ef8fec6977299b3a76baaef0e8cc Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Fri, 11 Nov 2022 20:30:15 +0100 Subject: [PATCH] Use a larger descriptor pool --- src/scenes/stream_reprojection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scenes/stream_reprojection.cpp b/src/scenes/stream_reprojection.cpp index b9f6189b..82263cb8 100644 --- a/src/scenes/stream_reprojection.cpp +++ b/src/scenes/stream_reprojection.cpp @@ -141,11 +141,11 @@ void stream_reprojection::init(VkDevice device, VkPhysicalDevice physical_device std::array pool_size{VkDescriptorPoolSize{ .type = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, - .descriptorCount = 1, + .descriptorCount = (uint32_t)input_images.size(), }, VkDescriptorPoolSize{ .type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, - .descriptorCount = 1, + .descriptorCount = (uint32_t)input_images.size(), }}; VkDescriptorPoolCreateInfo pool_info{