diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-25 05:15:32 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:29 +0200 |
commit | 2f3c3dfc10a318f63862c4976f0608ea50c19387 (patch) | |
tree | 243109289cc347fe1e8d3ea8adee8e32c791af3b /src/video_core/renderer_vulkan/vk_compute_pipeline.cpp | |
parent | vk_graphics_pipeline: Generate specialized pipeline config functions and improve code (diff) | |
download | yuzu-2f3c3dfc10a318f63862c4976f0608ea50c19387.tar yuzu-2f3c3dfc10a318f63862c4976f0608ea50c19387.tar.gz yuzu-2f3c3dfc10a318f63862c4976f0608ea50c19387.tar.bz2 yuzu-2f3c3dfc10a318f63862c4976f0608ea50c19387.tar.lz yuzu-2f3c3dfc10a318f63862c4976f0608ea50c19387.tar.xz yuzu-2f3c3dfc10a318f63862c4976f0608ea50c19387.tar.zst yuzu-2f3c3dfc10a318f63862c4976f0608ea50c19387.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_compute_pipeline.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_compute_pipeline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp b/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp index 990ead575..54a57c358 100644 --- a/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp +++ b/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp @@ -18,7 +18,7 @@ namespace Vulkan { -ComputePipeline::ComputePipeline(const Device& device, VKDescriptorPool& descriptor_pool, +ComputePipeline::ComputePipeline(const Device& device, DescriptorPool& descriptor_pool, VKUpdateDescriptorQueue& update_descriptor_queue_, Common::ThreadWorker* thread_worker, const Shader::Info& info_, vk::ShaderModule spv_module_) @@ -30,7 +30,7 @@ ComputePipeline::ComputePipeline(const Device& device, VKDescriptorPool& descrip descriptor_set_layout = builder.CreateDescriptorSetLayout(); pipeline_layout = builder.CreatePipelineLayout(*descriptor_set_layout); descriptor_update_template = builder.CreateTemplate(*descriptor_set_layout, *pipeline_layout); - descriptor_allocator = DescriptorAllocator(descriptor_pool, *descriptor_set_layout); + descriptor_allocator = descriptor_pool.Allocator(*descriptor_set_layout, info); auto func{[this, &device] { const VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT subgroup_size_ci{ |