diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-09-25 21:00:02 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 02:00:02 +0200 |
commit | 4744bde0e59578baeb5f94126087953f6d8ddba0 (patch) | |
tree | 6f85ea9241d2b1dbdc67b73c072f145395153eab /src/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs | |
parent | 4a835bb2b9130b91d35968b2f7800084cf286de4 (diff) |
Reduce the amount of descriptor pool allocations on Vulkan (#5673)1.1.1030
* Reduce the amount of descriptor pool allocations on Vulkan
* Formatting
* Slice can be simplified
* Make GetDescriptorPoolSizes static
* Adjust CanFit calculation so that TryAllocateDescriptorSets never fails
* Remove unused field
Diffstat (limited to 'src/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs')
-rw-r--r-- | src/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs b/src/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs index ac598c58..a483dc59 100644 --- a/src/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs +++ b/src/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs @@ -347,7 +347,7 @@ namespace Ryujinx.Graphics.Vulkan CommandBufferPool = new CommandBufferPool(Api, _device, Queue, QueueLock, queueFamilyIndex); - DescriptorSetManager = new DescriptorSetManager(_device); + DescriptorSetManager = new DescriptorSetManager(_device, PipelineBase.DescriptorSetLayouts); PipelineLayoutCache = new PipelineLayoutCache(); |