summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-05-15 18:05:24 +0200
committerGitHub <noreply@github.com>2023-05-15 18:05:24 +0200
commitbbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1 (patch)
treed0b3480a440f086faa6489a5b201ad955926c7d4 /src/common
parentMerge pull request #10234 from Kelebek1/clouds_depth (diff)
parentconfigure_graphics_advanced: Hide input compute toggle a little later (diff)
downloadyuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.tar
yuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.tar.gz
yuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.tar.bz2
yuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.tar.lz
yuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.tar.xz
yuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.tar.zst
yuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.zip
Diffstat (limited to 'src/common')
-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 db1774c71..ba617aea1 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -232,6 +232,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 5f4caaab9..36ffcd693 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -472,6 +472,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"};