glsl: Add boolean reference workaround

This commit is contained in:
ameerj 2021-12-29 18:55:42 -05:00
parent b84d429c2e
commit 8c907c620d
6 changed files with 15 additions and 2 deletions

View file

@ -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{};