mirror of
https://github.com/redstrate/Novus.git
synced 2025-06-06 13:17:46 +00:00
Add missing descriptors to the pool
Not really a problem, but I wanted to quell the validation layers.
This commit is contained in:
parent
e703faab55
commit
df035f7fb1
1 changed files with 13 additions and 1 deletions
|
@ -282,7 +282,19 @@ RenderManager::RenderManager(GameData *data)
|
|||
poolSize2.type = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
|
||||
poolSize2.descriptorCount = 150;
|
||||
|
||||
const std::array poolSizes = {poolSize, poolSize2};
|
||||
VkDescriptorPoolSize poolSize3 = {};
|
||||
poolSize3.type = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE;
|
||||
poolSize3.descriptorCount = 150;
|
||||
|
||||
VkDescriptorPoolSize poolSize4 = {};
|
||||
poolSize4.type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER;
|
||||
poolSize4.descriptorCount = 150;
|
||||
|
||||
VkDescriptorPoolSize poolSize5 = {};
|
||||
poolSize5.type = VK_DESCRIPTOR_TYPE_SAMPLER;
|
||||
poolSize5.descriptorCount = 150;
|
||||
|
||||
const std::array poolSizes = {poolSize, poolSize2, poolSize3, poolSize4, poolSize5};
|
||||
|
||||
VkDescriptorPoolCreateInfo poolCreateInfo = {};
|
||||
poolCreateInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
|
||||
|
|
Loading…
Add table
Reference in a new issue