diff options
| author | 2021-07-12 02:03:25 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:40 -0400 | |
| commit | 94af0a00f67c9f28fcaf170458e55b7a95de76bf (patch) | |
| tree | 82028b10b54dc4483a7b1e76003c4efa44f7938a /src/shader_recompiler/profile.h | |
| parent | gl_shader_cache: Properly implement asynchronous shaders (diff) | |
| download | yuzu-94af0a00f67c9f28fcaf170458e55b7a95de76bf.tar.gz yuzu-94af0a00f67c9f28fcaf170458e55b7a95de76bf.tar.xz yuzu-94af0a00f67c9f28fcaf170458e55b7a95de76bf.zip | |
glsl: Clamp shared mem size to GL_MAX_COMPUTE_SHARED_MEMORY_SIZE
Diffstat (limited to 'src/shader_recompiler/profile.h')
| -rw-r--r-- | src/shader_recompiler/profile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/profile.h b/src/shader_recompiler/profile.h index 501dcaf71..f0c3b3b17 100644 --- a/src/shader_recompiler/profile.h +++ b/src/shader_recompiler/profile.h | |||
| @@ -67,6 +67,8 @@ struct Profile { | |||
| 67 | bool has_gl_precise_bug{}; | 67 | bool has_gl_precise_bug{}; |
| 68 | /// Ignores SPIR-V ordered vs unordered using GLSL semantics | 68 | /// Ignores SPIR-V ordered vs unordered using GLSL semantics |
| 69 | bool ignore_nan_fp_comparisons{}; | 69 | bool ignore_nan_fp_comparisons{}; |
| 70 | |||
| 71 | u32 gl_max_compute_smem_size{}; | ||
| 70 | }; | 72 | }; |
| 71 | 73 | ||
| 72 | } // namespace Shader | 74 | } // namespace Shader |