summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_compute_pipeline.h
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2023-01-05 22:38:07 +0100
committerGitHub <noreply@github.com>2023-01-05 22:38:07 +0100
commit1428451722718d7af450f67d7ec823b155b128d2 (patch)
treed498f1f26f66edcb3e2517cd83d1fd8f6d8f015f /src/video_core/renderer_vulkan/vk_compute_pipeline.h
parentMerge pull request #9557 from FernandoS27/ooops-i-killed-the-shitty-drivers (diff)
parentvideo_core/vulkan: Vulkan driver pipelines now contain cache version (diff)
downloadyuzu-1428451722718d7af450f67d7ec823b155b128d2.tar
yuzu-1428451722718d7af450f67d7ec823b155b128d2.tar.gz
yuzu-1428451722718d7af450f67d7ec823b155b128d2.tar.bz2
yuzu-1428451722718d7af450f67d7ec823b155b128d2.tar.lz
yuzu-1428451722718d7af450f67d7ec823b155b128d2.tar.xz
yuzu-1428451722718d7af450f67d7ec823b155b128d2.tar.zst
yuzu-1428451722718d7af450f67d7ec823b155b128d2.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_vulkan/vk_compute_pipeline.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_compute_pipeline.h b/src/video_core/renderer_vulkan/vk_compute_pipeline.h
index d70837fc5..78d77027f 100644
--- a/src/video_core/renderer_vulkan/vk_compute_pipeline.h
+++ b/src/video_core/renderer_vulkan/vk_compute_pipeline.h
@@ -28,7 +28,8 @@ class Scheduler;
class ComputePipeline {
public:
- explicit ComputePipeline(const Device& device, DescriptorPool& descriptor_pool,
+ explicit ComputePipeline(const Device& device, vk::PipelineCache& pipeline_cache,
+ DescriptorPool& descriptor_pool,
UpdateDescriptorQueue& update_descriptor_queue,
Common::ThreadWorker* thread_worker,
PipelineStatistics* pipeline_statistics,
@@ -46,6 +47,7 @@ public:
private:
const Device& device;
+ vk::PipelineCache& pipeline_cache;
UpdateDescriptorQueue& update_descriptor_queue;
Shader::Info info;