1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-14 00:48:44 +01:00

[dxvk] Do not allocate descriptor set space for dynamic UBOs

This commit is contained in:
Philip Rebohle 2022-06-19 13:31:25 +02:00
parent f34d1c886a
commit 8dde72da06
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -7,7 +7,7 @@ namespace dxvk {
: m_vkd(vkd) {
constexpr uint32_t MaxSets = 2048;
std::array<VkDescriptorPoolSize, 9> pools = {{
std::array<VkDescriptorPoolSize, 8> 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;