diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-12 02:03:25 -0400 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:40 -0400 |
commit | 94af0a00f67c9f28fcaf170458e55b7a95de76bf (patch) | |
tree | 82028b10b54dc4483a7b1e76003c4efa44f7938a /src/shader_recompiler/profile.h | |
parent | 8c166c68d46d160162caa9b588f1e762c57e52f4 (diff) |
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 501dcaf71f..f0c3b3b172 100644 --- a/src/shader_recompiler/profile.h +++ b/src/shader_recompiler/profile.h @@ -67,6 +67,8 @@ struct Profile { bool has_gl_precise_bug{}; /// Ignores SPIR-V ordered vs unordered using GLSL semantics bool ignore_nan_fp_comparisons{}; + + u32 gl_max_compute_smem_size{}; }; } // namespace Shader |