mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 18:22:47 +01:00
config: Set the Vulkan driver pipeline cache option to be global
This commit is contained in:
parent
f2aa816679
commit
8945fafcc0
2 changed files with 4 additions and 0 deletions
|
@ -200,6 +200,7 @@ void RestoreGlobalState(bool is_powered_on) {
|
||||||
values.use_asynchronous_shaders.SetGlobal(true);
|
values.use_asynchronous_shaders.SetGlobal(true);
|
||||||
values.use_fast_gpu_time.SetGlobal(true);
|
values.use_fast_gpu_time.SetGlobal(true);
|
||||||
values.use_pessimistic_flushes.SetGlobal(true);
|
values.use_pessimistic_flushes.SetGlobal(true);
|
||||||
|
values.use_vulkan_driver_pipeline_cache.SetGlobal(true);
|
||||||
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);
|
||||||
|
|
|
@ -104,6 +104,9 @@ void ConfigureGraphicsAdvanced::SetupPerGameUI() {
|
||||||
ConfigurationShared::SetColoredTristate(ui->use_pessimistic_flushes,
|
ConfigurationShared::SetColoredTristate(ui->use_pessimistic_flushes,
|
||||||
Settings::values.use_pessimistic_flushes,
|
Settings::values.use_pessimistic_flushes,
|
||||||
use_pessimistic_flushes);
|
use_pessimistic_flushes);
|
||||||
|
ConfigurationShared::SetColoredTristate(ui->use_vulkan_driver_pipeline_cache,
|
||||||
|
Settings::values.use_vulkan_driver_pipeline_cache,
|
||||||
|
use_vulkan_driver_pipeline_cache);
|
||||||
ConfigurationShared::SetColoredComboBox(
|
ConfigurationShared::SetColoredComboBox(
|
||||||
ui->gpu_accuracy, ui->label_gpu_accuracy,
|
ui->gpu_accuracy, ui->label_gpu_accuracy,
|
||||||
static_cast<int>(Settings::values.gpu_accuracy.GetValue(true)));
|
static_cast<int>(Settings::values.gpu_accuracy.GetValue(true)));
|
||||||
|
|
Loading…
Reference in a new issue