summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-06-15 05:02:07 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:38 +0200
commit6eea88d6149f7122777b325c7fc8549e2a974e64 (patch)
treeadc74d8545021665fee7e46f8d4b1b0e14b1c823 /src/video_core
parentgl_shader_cache: Implement async shaders (diff)
downloadyuzu-6eea88d6149f7122777b325c7fc8549e2a974e64.tar
yuzu-6eea88d6149f7122777b325c7fc8549e2a974e64.tar.gz
yuzu-6eea88d6149f7122777b325c7fc8549e2a974e64.tar.bz2
yuzu-6eea88d6149f7122777b325c7fc8549e2a974e64.tar.lz
yuzu-6eea88d6149f7122777b325c7fc8549e2a974e64.tar.xz
yuzu-6eea88d6149f7122777b325c7fc8549e2a974e64.tar.zst
yuzu-6eea88d6149f7122777b325c7fc8549e2a974e64.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp
index d082b9f73..5ffe28d45 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -196,6 +196,8 @@ ShaderCache::ShaderCache(RasterizerOpenGL& rasterizer_, Core::Frontend::EmuWindo
.has_broken_spirv_clamp = true,
.has_broken_unsigned_image_offsets = true,
.has_broken_signed_operations = true,
+ .has_gl_component_indexing_bug = device.HasComponentIndexingBug(),
+ .has_gl_precise_bug = device.HasPreciseBug(),
.ignore_nan_fp_comparisons = true,
} {
if (use_asynchronous_shaders) {