settings: Add enable compute pipelines
For the Intel proprietary driver's deficiencies. settings: Restore compute option global state
This commit is contained in:
parent
3547248ec2
commit
725aacb4bc
|
@ -230,6 +230,7 @@ void RestoreGlobalState(bool is_powered_on) {
|
||||||
values.bg_red.SetGlobal(true);
|
values.bg_red.SetGlobal(true);
|
||||||
values.bg_green.SetGlobal(true);
|
values.bg_green.SetGlobal(true);
|
||||||
values.bg_blue.SetGlobal(true);
|
values.bg_blue.SetGlobal(true);
|
||||||
|
values.enable_compute_pipelines.SetGlobal(true);
|
||||||
|
|
||||||
// System
|
// System
|
||||||
values.language_index.SetGlobal(true);
|
values.language_index.SetGlobal(true);
|
||||||
|
|
|
@ -471,6 +471,7 @@ struct Values {
|
||||||
SwitchableSetting<bool> use_fast_gpu_time{true, "use_fast_gpu_time"};
|
SwitchableSetting<bool> use_fast_gpu_time{true, "use_fast_gpu_time"};
|
||||||
SwitchableSetting<bool> use_vulkan_driver_pipeline_cache{true,
|
SwitchableSetting<bool> use_vulkan_driver_pipeline_cache{true,
|
||||||
"use_vulkan_driver_pipeline_cache"};
|
"use_vulkan_driver_pipeline_cache"};
|
||||||
|
SwitchableSetting<bool> enable_compute_pipelines{false, "enable_compute_pipelines"};
|
||||||
|
|
||||||
SwitchableSetting<u8> bg_red{0, "bg_red"};
|
SwitchableSetting<u8> bg_red{0, "bg_red"};
|
||||||
SwitchableSetting<u8> bg_green{0, "bg_green"};
|
SwitchableSetting<u8> bg_green{0, "bg_green"};
|
||||||
|
|
Reference in New Issue