Fix descriptor set pool being too small
This commit is contained in:
parent
17e59fb52e
commit
4da3317020
1 changed files with 2 additions and 1 deletions
|
|
@ -345,7 +345,8 @@ void VkDescriptorSetManager::CreateLevelMeshPool()
|
|||
void VkDescriptorSetManager::CreateRSBufferPool()
|
||||
{
|
||||
RSBuffer.Pool = DescriptorPoolBuilder()
|
||||
.AddPoolSize(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, 5)
|
||||
.AddPoolSize(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, 4)
|
||||
.AddPoolSize(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, 1)
|
||||
.AddPoolSize(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1)
|
||||
.MaxSets(1)
|
||||
.DebugName("VkDescriptorSetManager.RSBuffer.Pool")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue