diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-12-29 18:55:42 -0500 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-12-29 19:03:50 -0500 |
commit | 8c907c620d830bdaef30ff4316489443775b3ea4 (patch) | |
tree | 1d4fdda0429c8999d615e981a6e79384a223823a /src/shader_recompiler/profile.h | |
parent | b84d429c2ec59e54a89d9d4e34b0df9f22172e8f (diff) |
glsl: Add boolean reference workaround
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 9deb3f4bb7..dc4c806ff4 100644 --- a/src/shader_recompiler/profile.h +++ b/src/shader_recompiler/profile.h @@ -67,6 +67,8 @@ struct Profile { bool has_gl_precise_bug{}; /// Some drivers do not properly support floatBitsToUint when used on cbufs bool has_gl_cbuf_ftou_bug{}; + /// Some drivers poorly optimize boolean variable references + bool has_gl_bool_ref_bug{}; /// Ignores SPIR-V ordered vs unordered using GLSL semantics bool ignore_nan_fp_comparisons{}; |