diff options
author | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2023-01-02 02:51:07 +0100 |
---|---|---|
committer | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2023-01-05 21:03:01 +0100 |
commit | 8945fafcc0ee6c28dcd956e1ffe82df72b0d9d4c (patch) | |
tree | 9d0ef9dc7bb2c32696fbca2fbba7a6510750dbb2 | |
parent | video_core/vulkan: Added check if Vulkan pipeline path has been set (diff) | |
download | yuzu-8945fafcc0ee6c28dcd956e1ffe82df72b0d9d4c.tar yuzu-8945fafcc0ee6c28dcd956e1ffe82df72b0d9d4c.tar.gz yuzu-8945fafcc0ee6c28dcd956e1ffe82df72b0d9d4c.tar.bz2 yuzu-8945fafcc0ee6c28dcd956e1ffe82df72b0d9d4c.tar.lz yuzu-8945fafcc0ee6c28dcd956e1ffe82df72b0d9d4c.tar.xz yuzu-8945fafcc0ee6c28dcd956e1ffe82df72b0d9d4c.tar.zst yuzu-8945fafcc0ee6c28dcd956e1ffe82df72b0d9d4c.zip |
-rw-r--r-- | src/common/settings.cpp | 1 | ||||
-rw-r--r-- | src/yuzu/configuration/configure_graphics_advanced.cpp | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 149e621f9..2eaded242 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -200,6 +200,7 @@ void RestoreGlobalState(bool is_powered_on) { values.use_asynchronous_shaders.SetGlobal(true); values.use_fast_gpu_time.SetGlobal(true); values.use_pessimistic_flushes.SetGlobal(true); + values.use_vulkan_driver_pipeline_cache.SetGlobal(true); values.bg_red.SetGlobal(true); values.bg_green.SetGlobal(true); values.bg_blue.SetGlobal(true); diff --git a/src/yuzu/configuration/configure_graphics_advanced.cpp b/src/yuzu/configuration/configure_graphics_advanced.cpp index b3862e707..a3fbe2ad0 100644 --- a/src/yuzu/configuration/configure_graphics_advanced.cpp +++ b/src/yuzu/configuration/configure_graphics_advanced.cpp @@ -104,6 +104,9 @@ void ConfigureGraphicsAdvanced::SetupPerGameUI() { ConfigurationShared::SetColoredTristate(ui->use_pessimistic_flushes, Settings::values.use_pessimistic_flushes, use_pessimistic_flushes); + ConfigurationShared::SetColoredTristate(ui->use_vulkan_driver_pipeline_cache, + Settings::values.use_vulkan_driver_pipeline_cache, + use_vulkan_driver_pipeline_cache); ConfigurationShared::SetColoredComboBox( ui->gpu_accuracy, ui->label_gpu_accuracy, static_cast<int>(Settings::values.gpu_accuracy.GetValue(true))); |