Skip to content

Commit

Permalink
Allow allocating dynamic uniform buffer descriptors
Browse files Browse the repository at this point in the history
  • Loading branch information
rys committed Feb 22, 2021
1 parent fd91cd7 commit e7ca80d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/VK/base/ResourceViewHeaps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ namespace CAULDRON_VK
m_pDevice = pDevice;
m_allocatedDescriptorCount = 0;

std::vector<VkDescriptorPoolSize> type_count =
std::vector<VkDescriptorPoolSize> type_count =
{
{ VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, cbvDescriptorCount },
{ VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, cbvDescriptorCount },
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, srvDescriptorCount },
{ VK_DESCRIPTOR_TYPE_SAMPLER, samplerDescriptorCount },
Expand Down

0 comments on commit e7ca80d

Please sign in to comment.