From 38cdc880d154a6230f335a7495b94339abdbc0b3 Mon Sep 17 00:00:00 2001 From: dpjudas Date: Wed, 18 Oct 2023 02:27:47 +0200 Subject: [PATCH] Fix another descriptor pool out of memory error --- src/lightmapper/vk_lightmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lightmapper/vk_lightmap.cpp b/src/lightmapper/vk_lightmap.cpp index 4e29980..0577eec 100644 --- a/src/lightmapper/vk_lightmap.cpp +++ b/src/lightmapper/vk_lightmap.cpp @@ -785,7 +785,7 @@ void VkLightmap::CreateRaytracePipeline() { raytrace.descriptorPool1 = DescriptorPoolBuilder() .AddPoolSize(VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR, 1) - .AddPoolSize(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1) + .AddPoolSize(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 2) .MaxSets(1) .DebugName("raytrace.descriptorPool1") .Create(fb->GetDevice());