diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2020-07-10 06:00:02 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2020-07-17 06:26:14 +0200 |
commit | 85d7a8f466837859a372fdc2a93028061e1b0bb8 (patch) | |
tree | 1f924fffcd6f8a44eb54c6e4a8bc94b7773c88eb /src/yuzu_cmd | |
parent | async shaders (diff) | |
download | yuzu-85d7a8f466837859a372fdc2a93028061e1b0bb8.tar yuzu-85d7a8f466837859a372fdc2a93028061e1b0bb8.tar.gz yuzu-85d7a8f466837859a372fdc2a93028061e1b0bb8.tar.bz2 yuzu-85d7a8f466837859a372fdc2a93028061e1b0bb8.tar.lz yuzu-85d7a8f466837859a372fdc2a93028061e1b0bb8.tar.xz yuzu-85d7a8f466837859a372fdc2a93028061e1b0bb8.tar.zst yuzu-85d7a8f466837859a372fdc2a93028061e1b0bb8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu_cmd/config.cpp | 4 | ||||
-rw-r--r-- | src/yuzu_cmd/default_ini.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 7773228c8..c2a2982fb 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp @@ -394,6 +394,10 @@ void Config::ReadValues() { static_cast<u16>(sdl2_config->GetInteger("Renderer", "use_vsync", 1))); Settings::values.use_assembly_shaders.SetValue( sdl2_config->GetBoolean("Renderer", "use_assembly_shaders", false)); + Settings::values.use_asynchronous_shaders.SetValue( + sdl2_config->GetBoolean("Renderer", "use_asynchronous_shaders", false)); + Settings::values.use_asynchronous_shaders.SetValue( + sdl2_config->GetBoolean("Renderer", "use_asynchronous_shaders", false)); Settings::values.use_fast_gpu_time.SetValue( sdl2_config->GetBoolean("Renderer", "use_fast_gpu_time", true)); diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h index 5bed47fd7..aa9e40380 100644 --- a/src/yuzu_cmd/default_ini.h +++ b/src/yuzu_cmd/default_ini.h @@ -166,6 +166,10 @@ use_vsync = # 0 (default): Off, 1: On use_assembly_shaders = +# Whether to allow asynchronous shader building. +# 0 (default): Off, 1: On +use_asynchronous_shaders = + # Turns on the frame limiter, which will limit frames output to the target game speed # 0: Off, 1: On (default) use_frame_limit = |