summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_pipeline_cache.h
diff options
context:
space:
mode:
authorWollnashorn <Wollnashorn@users.noreply.github.com>2023-01-05 04:36:17 +0100
committerWollnashorn <Wollnashorn@users.noreply.github.com>2023-01-05 21:03:01 +0100
commite07976a22bcbfe8a2a3c166cc35c654f9b893a5d (patch)
treed498f1f26f66edcb3e2517cd83d1fd8f6d8f015f /src/video_core/renderer_vulkan/vk_pipeline_cache.h
parentvideo_core/vulkan: Driver pipeline cache will now be deleted with the shader cache (diff)
downloadyuzu-e07976a22bcbfe8a2a3c166cc35c654f9b893a5d.tar
yuzu-e07976a22bcbfe8a2a3c166cc35c654f9b893a5d.tar.gz
yuzu-e07976a22bcbfe8a2a3c166cc35c654f9b893a5d.tar.bz2
yuzu-e07976a22bcbfe8a2a3c166cc35c654f9b893a5d.tar.lz
yuzu-e07976a22bcbfe8a2a3c166cc35c654f9b893a5d.tar.xz
yuzu-e07976a22bcbfe8a2a3c166cc35c654f9b893a5d.tar.zst
yuzu-e07976a22bcbfe8a2a3c166cc35c654f9b893a5d.zip
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_pipeline_cache.h')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.h b/src/video_core/renderer_vulkan/vk_pipeline_cache.h
index cf3bd6b85..5171912d7 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.h
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.h
@@ -136,9 +136,10 @@ private:
bool build_in_parallel);
void SerializeVulkanPipelineCache(const std::filesystem::path& filename,
- const vk::PipelineCache& pipeline_cache);
+ const vk::PipelineCache& pipeline_cache, u32 cache_version);
- vk::PipelineCache LoadVulkanPipelineCache(const std::filesystem::path& filename);
+ vk::PipelineCache LoadVulkanPipelineCache(const std::filesystem::path& filename,
+ u32 expected_cache_version);
const Device& device;
Scheduler& scheduler;