summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-07-12 08:03:25 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:40 +0200
commit94af0a00f67c9f28fcaf170458e55b7a95de76bf (patch)
tree82028b10b54dc4483a7b1e76003c4efa44f7938a /src/video_core
parentgl_shader_cache: Properly implement asynchronous shaders (diff)
downloadyuzu-94af0a00f67c9f28fcaf170458e55b7a95de76bf.tar
yuzu-94af0a00f67c9f28fcaf170458e55b7a95de76bf.tar.gz
yuzu-94af0a00f67c9f28fcaf170458e55b7a95de76bf.tar.bz2
yuzu-94af0a00f67c9f28fcaf170458e55b7a95de76bf.tar.lz
yuzu-94af0a00f67c9f28fcaf170458e55b7a95de76bf.tar.xz
yuzu-94af0a00f67c9f28fcaf170458e55b7a95de76bf.tar.zst
yuzu-94af0a00f67c9f28fcaf170458e55b7a95de76bf.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp1
1 files changed, 1 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 24f035c37..7ecafc862 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -211,6 +211,7 @@ ShaderCache::ShaderCache(RasterizerOpenGL& rasterizer_, Core::Frontend::EmuWindo
.has_gl_component_indexing_bug = device.HasComponentIndexingBug(),
.has_gl_precise_bug = device.HasPreciseBug(),
.ignore_nan_fp_comparisons = true,
+ .gl_max_compute_smem_size = device.GetMaxComputeSharedMemorySize(),
},
host_info{
.support_float16 = false,