Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

settings: Add enable compute pipelines

lat9nq90f412660905
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index f1ee42ab2e..61b5d0c1ac 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 2bf191cef1..573597f3d4 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"};