summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-07-20 08:08:06 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:40 +0200
commit3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a (patch)
treee479814ce9cfb14a51c1cf404659f32f0ff61a46 /src/video_core/renderer_opengl
parentopengl: Fix asynchronous shaders (diff)
downloadyuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar
yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar.gz
yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar.bz2
yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar.lz
yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar.xz
yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar.zst
yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_device.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp
index 6afe6c1e1..9692b8e94 100644
--- a/src/video_core/renderer_opengl/gl_device.cpp
+++ b/src/video_core/renderer_opengl/gl_device.cpp
@@ -180,11 +180,9 @@ Device::Device() {
LOG_ERROR(Render_OpenGL, "Assembly shaders enabled but not supported");
shader_backend = Settings::ShaderBackend::GLSL;
}
- // Completely disable async shaders for now, as it causes graphical glitches
- use_asynchronous_shaders = false;
// Blocks AMD and Intel OpenGL drivers on Windows from using asynchronous shader compilation.
- // use_asynchronous_shaders = Settings::values.use_asynchronous_shaders.GetValue() &&
- // !(is_amd || (is_intel && !is_linux));
+ use_asynchronous_shaders = Settings::values.use_asynchronous_shaders.GetValue() &&
+ !(is_amd || (is_intel && !is_linux));
use_driver_cache = is_nvidia;
LOG_INFO(Render_OpenGL, "Renderer_VariableAOFFI: {}", has_variable_aoffi);