diff --git a/src/dxvk/dxvk_descriptor.cpp b/src/dxvk/dxvk_descriptor.cpp index 69acda1e7..e3bd1dde0 100644 --- a/src/dxvk/dxvk_descriptor.cpp +++ b/src/dxvk/dxvk_descriptor.cpp @@ -48,14 +48,16 @@ namespace dxvk { constexpr uint32_t MaxSets = 256; constexpr uint32_t MaxDesc = 2048; - std::array pools = {{ - { VK_DESCRIPTOR_TYPE_SAMPLER, MaxDesc }, - { VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, MaxDesc }, - { VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, MaxDesc }, - { VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, MaxDesc }, - { VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, MaxDesc }, - { VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, MaxDesc }, - { VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, MaxDesc } }}; + std::array pools = {{ + { VK_DESCRIPTOR_TYPE_SAMPLER, MaxDesc }, + { VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, MaxDesc }, + { VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, MaxDesc }, + { VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, MaxDesc }, + { VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, MaxDesc }, + { VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, MaxDesc }, + { VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, MaxDesc }, + { VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, MaxDesc }, + { VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, MaxDesc } }}; VkDescriptorPoolCreateInfo info; info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;