summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-03 01:41:10 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-07 07:06:20 +0200
commit725aacb4bc86a64fd54ba086110a3e62438fa1a6 (patch)
treec5cbdc0d8fb0c6b815f3af3b25f474462bd23428
parentMerge pull request #10125 from lat9nq/vsync-select (diff)
downloadyuzu-725aacb4bc86a64fd54ba086110a3e62438fa1a6.tar
yuzu-725aacb4bc86a64fd54ba086110a3e62438fa1a6.tar.gz
yuzu-725aacb4bc86a64fd54ba086110a3e62438fa1a6.tar.bz2
yuzu-725aacb4bc86a64fd54ba086110a3e62438fa1a6.tar.lz
yuzu-725aacb4bc86a64fd54ba086110a3e62438fa1a6.tar.xz
yuzu-725aacb4bc86a64fd54ba086110a3e62438fa1a6.tar.zst
yuzu-725aacb4bc86a64fd54ba086110a3e62438fa1a6.zip
Diffstat (limited to '')
-rw-r--r--src/common/settings.cpp1
-rw-r--r--src/common/settings.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index f1ee42ab2..61b5d0c1a 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -230,6 +230,7 @@ void RestoreGlobalState(bool is_powered_on) {
values.bg_red.SetGlobal(true);
values.bg_green.SetGlobal(true);
values.bg_blue.SetGlobal(true);
+ values.enable_compute_pipelines.SetGlobal(true);
// System
values.language_index.SetGlobal(true);
diff --git a/src/common/settings.h b/src/common/settings.h
index 2bf191cef..573597f3d 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -471,6 +471,7 @@ struct Values {
SwitchableSetting<bool> use_fast_gpu_time{true, "use_fast_gpu_time"};
SwitchableSetting<bool> use_vulkan_driver_pipeline_cache{true,
"use_vulkan_driver_pipeline_cache"};
+ SwitchableSetting<bool> enable_compute_pipelines{false, "enable_compute_pipelines"};
SwitchableSetting<u8> bg_red{0, "bg_red"};
SwitchableSetting<u8> bg_green{0, "bg_green"};