Fix descriptor pool out of memory error
This commit is contained in:
parent
5e3d6e39a0
commit
84753ffaa7
1 changed files with 3 additions and 2 deletions
|
|
@ -989,8 +989,9 @@ void VkLightmap::CreateCopyPipeline()
|
|||
.Create(fb->GetDevice());
|
||||
|
||||
copy.descriptorPool = DescriptorPoolBuilder()
|
||||
.AddPoolSize(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 256)
|
||||
.MaxSets(256)
|
||||
.AddPoolSize(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 1)
|
||||
.AddPoolSize(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1)
|
||||
.MaxSets(1)
|
||||
.DebugName("copy.descriptorPool")
|
||||
.Create(fb->GetDevice());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue