mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-03 06:11:03 +00:00
Fix out of pool memory error
This commit is contained in:
parent
82a3036429
commit
a77dfae0bc
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ void VkRenderPassManager::CreateDescriptorPool()
|
||||||
DescriptorPoolBuilder builder;
|
DescriptorPoolBuilder builder;
|
||||||
builder.addPoolSize(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, 3);
|
builder.addPoolSize(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, 3);
|
||||||
builder.addPoolSize(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1);
|
builder.addPoolSize(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1);
|
||||||
builder.addPoolSize(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 1);
|
builder.addPoolSize(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 2);
|
||||||
builder.setMaxSets(1);
|
builder.setMaxSets(1);
|
||||||
DynamicDescriptorPool = builder.create(GetVulkanFrameBuffer()->device);
|
DynamicDescriptorPool = builder.create(GetVulkanFrameBuffer()->device);
|
||||||
DynamicDescriptorPool->SetDebugName("VkRenderPassManager.DynamicDescriptorPool");
|
DynamicDescriptorPool->SetDebugName("VkRenderPassManager.DynamicDescriptorPool");
|
||||||
|
|
Loading…
Reference in a new issue