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:
parent
f34d1c886a
commit
8dde72da06
@ -7,7 +7,7 @@ namespace dxvk {
|
|||||||
: m_vkd(vkd) {
|
: m_vkd(vkd) {
|
||||||
constexpr uint32_t MaxSets = 2048;
|
constexpr uint32_t MaxSets = 2048;
|
||||||
|
|
||||||
std::array<VkDescriptorPoolSize, 9> pools = {{
|
std::array<VkDescriptorPoolSize, 8> pools = {{
|
||||||
{ VK_DESCRIPTOR_TYPE_SAMPLER, MaxSets * 2 },
|
{ VK_DESCRIPTOR_TYPE_SAMPLER, MaxSets * 2 },
|
||||||
{ VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, MaxSets * 3 },
|
{ VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, MaxSets * 3 },
|
||||||
{ VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, MaxSets / 8 },
|
{ VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, MaxSets / 8 },
|
||||||
@ -15,7 +15,6 @@ namespace dxvk {
|
|||||||
{ VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, MaxSets / 8 },
|
{ VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, MaxSets / 8 },
|
||||||
{ VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, MaxSets * 3 },
|
{ VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, MaxSets * 3 },
|
||||||
{ VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, MaxSets / 8 },
|
{ VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, MaxSets / 8 },
|
||||||
{ VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, MaxSets * 3 },
|
|
||||||
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, MaxSets * 2 } }};
|
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, MaxSets * 2 } }};
|
||||||
|
|
||||||
VkDescriptorPoolCreateInfo info;
|
VkDescriptorPoolCreateInfo info;
|
||||||
|
Loading…
Reference in New Issue
Block a user