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());