diff options
| author | 2023-05-02 16:41:10 -0700 | |
|---|---|---|
| committer | 2023-05-07 01:06:20 -0400 | |
| commit | 725aacb4bc86a64fd54ba086110a3e62438fa1a6 (patch) | |
| tree | c5cbdc0d8fb0c6b815f3af3b25f474462bd23428 /src | |
| parent | Merge pull request #10125 from lat9nq/vsync-select (diff) | |
| download | yuzu-725aacb4bc86a64fd54ba086110a3e62438fa1a6.tar.gz yuzu-725aacb4bc86a64fd54ba086110a3e62438fa1a6.tar.xz yuzu-725aacb4bc86a64fd54ba086110a3e62438fa1a6.zip | |
settings: Add enable compute pipelines
For the Intel proprietary driver's deficiencies.
settings: Restore compute option global state
Diffstat (limited to '')
| -rw-r--r-- | src/common/settings.cpp | 1 | ||||
| -rw-r--r-- | src/common/settings.h | 1 |
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) { | |||
| 230 | values.bg_red.SetGlobal(true); | 230 | values.bg_red.SetGlobal(true); |
| 231 | values.bg_green.SetGlobal(true); | 231 | values.bg_green.SetGlobal(true); |
| 232 | values.bg_blue.SetGlobal(true); | 232 | values.bg_blue.SetGlobal(true); |
| 233 | values.enable_compute_pipelines.SetGlobal(true); | ||
| 233 | 234 | ||
| 234 | // System | 235 | // System |
| 235 | values.language_index.SetGlobal(true); | 236 | 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 { | |||
| 471 | SwitchableSetting<bool> use_fast_gpu_time{true, "use_fast_gpu_time"}; | 471 | SwitchableSetting<bool> use_fast_gpu_time{true, "use_fast_gpu_time"}; |
| 472 | SwitchableSetting<bool> use_vulkan_driver_pipeline_cache{true, | 472 | SwitchableSetting<bool> use_vulkan_driver_pipeline_cache{true, |
| 473 | "use_vulkan_driver_pipeline_cache"}; | 473 | "use_vulkan_driver_pipeline_cache"}; |
| 474 | SwitchableSetting<bool> enable_compute_pipelines{false, "enable_compute_pipelines"}; | ||
| 474 | 475 | ||
| 475 | SwitchableSetting<u8> bg_red{0, "bg_red"}; | 476 | SwitchableSetting<u8> bg_red{0, "bg_red"}; |
| 476 | SwitchableSetting<u8> bg_green{0, "bg_green"}; | 477 | SwitchableSetting<u8> bg_green{0, "bg_green"}; |