Skip to content

Commit e7ca80d

Browse files
committed
Allow allocating dynamic uniform buffer descriptors
1 parent fd91cd7 commit e7ca80d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/VK/base/ResourceViewHeaps.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ namespace CAULDRON_VK
2828
m_pDevice = pDevice;
2929
m_allocatedDescriptorCount = 0;
3030

31-
std::vector<VkDescriptorPoolSize> type_count =
31+
std::vector<VkDescriptorPoolSize> type_count =
3232
{
33+
{ VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, cbvDescriptorCount },
3334
{ VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, cbvDescriptorCount },
3435
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, srvDescriptorCount },
3536
{ VK_DESCRIPTOR_TYPE_SAMPLER, samplerDescriptorCount },

0 commit comments

Comments
 (0)