From 725aacb4bc86a64fd54ba086110a3e62438fa1a6 Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Tue, 2 May 2023 16:41:10 -0700 Subject: [PATCH] settings: Add enable compute pipelines For the Intel proprietary driver's deficiencies. settings: Restore compute option global state --- src/common/settings.cpp | 1 + src/common/settings.h | 1 + 2 files changed, 2 insertions(+) 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 use_fast_gpu_time{true, "use_fast_gpu_time"}; SwitchableSetting use_vulkan_driver_pipeline_cache{true, "use_vulkan_driver_pipeline_cache"}; + SwitchableSetting enable_compute_pipelines{false, "enable_compute_pipelines"}; SwitchableSetting bg_red{0, "bg_red"}; SwitchableSetting bg_green{0, "bg_green"};