diff options
author | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2022-12-31 21:39:14 +0100 |
---|---|---|
committer | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2023-01-05 21:03:01 +0100 |
commit | f2aa8166796742b16b1a09204a63cb990a311100 (patch) | |
tree | b74d635a52d2413af3b396a62391543c4b4b8c72 /src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | |
parent | config: Better wording for VK pipeline cache option and enable by default (diff) | |
download | yuzu-f2aa8166796742b16b1a09204a63cb990a311100.tar yuzu-f2aa8166796742b16b1a09204a63cb990a311100.tar.gz yuzu-f2aa8166796742b16b1a09204a63cb990a311100.tar.bz2 yuzu-f2aa8166796742b16b1a09204a63cb990a311100.tar.lz yuzu-f2aa8166796742b16b1a09204a63cb990a311100.tar.xz yuzu-f2aa8166796742b16b1a09204a63cb990a311100.tar.zst yuzu-f2aa8166796742b16b1a09204a63cb990a311100.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_pipeline_cache.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index e0e2be90c..7bded3ec5 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -365,7 +365,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device } PipelineCache::~PipelineCache() { - if (use_vulkan_pipeline_cache) { + if (use_vulkan_pipeline_cache && !vulkan_pipeline_cache_filename.empty()) { SerializeVulkanPipelineCache(vulkan_pipeline_cache_filename, vulkan_pipeline_cache); } } |