From 8dde72da06f9781438e953ce93e031c299b623ff Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sun, 19 Jun 2022 13:31:25 +0200 Subject: [PATCH] [dxvk] Do not allocate descriptor set space for dynamic UBOs --- src/dxvk/dxvk_descriptor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dxvk/dxvk_descriptor.cpp b/src/dxvk/dxvk_descriptor.cpp index cdd2ae67..8529c0ba 100644 --- a/src/dxvk/dxvk_descriptor.cpp +++ b/src/dxvk/dxvk_descriptor.cpp @@ -7,7 +7,7 @@ namespace dxvk { : m_vkd(vkd) { constexpr uint32_t MaxSets = 2048; - std::array pools = {{ + std::array pools = {{ { VK_DESCRIPTOR_TYPE_SAMPLER, MaxSets * 2 }, { VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, MaxSets * 3 }, { VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, MaxSets / 8 }, @@ -15,7 +15,6 @@ namespace dxvk { { VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, MaxSets / 8 }, { VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, MaxSets * 3 }, { VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, MaxSets / 8 }, - { VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, MaxSets * 3 }, { VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, MaxSets * 2 } }}; VkDescriptorPoolCreateInfo info;