From c97f33b28dc0fdb3f89e3c9b3fd0bac445114b75 Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Sun, 27 Feb 2022 17:42:56 -0500 Subject: [PATCH] config: Make asynchronous shaders OpenGL only Since the release of Project Hades, the shader de/recompiler rewrite, shader compilation under the Vulkan API has improved significantly compared to the previous shader recompiler. This setting was conceived when shader compilation was significantly slower than it is now, and thus, its utility is greatly diminished on the Vulkan backend. This makes the setting exclusive to OpenGL, where its still provides a significant benefit. --- src/yuzu/configuration/configure_graphics_advanced.ui | 4 ++-- src/yuzu_cmd/default_ini.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/yuzu/configuration/configure_graphics_advanced.ui b/src/yuzu/configuration/configure_graphics_advanced.ui index 061885e30a..39564d8520 100644 --- a/src/yuzu/configuration/configure_graphics_advanced.ui +++ b/src/yuzu/configuration/configure_graphics_advanced.ui @@ -92,10 +92,10 @@ - Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental and may cause graphical issues. - Use asynchronous shader building (Hack) + Use asynchronous shader building (Hack, OpenGL only) diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h index 67d230462d..eecd2922be 100644 --- a/src/yuzu_cmd/default_ini.h +++ b/src/yuzu_cmd/default_ini.h @@ -314,7 +314,7 @@ use_vsync = # 0: GLSL, 1 (default): GLASM, 2: SPIR-V shader_backend = -# Whether to allow asynchronous shader building. +# (OpenGL) Whether to allow asynchronous shader building. # 0 (default): Off, 1: On use_asynchronous_shaders =