diff options
| author | 2021-12-29 18:55:42 -0500 | |
|---|---|---|
| committer | 2021-12-29 19:03:50 -0500 | |
| commit | 8c907c620d830bdaef30ff4316489443775b3ea4 (patch) | |
| tree | 1d4fdda0429c8999d615e981a6e79384a223823a /src/shader_recompiler/profile.h | |
| parent | glsl_context_get_set: Add alternative cbuf type for broken drivers (diff) | |
| download | yuzu-8c907c620d830bdaef30ff4316489443775b3ea4.tar.gz yuzu-8c907c620d830bdaef30ff4316489443775b3ea4.tar.xz yuzu-8c907c620d830bdaef30ff4316489443775b3ea4.zip | |
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 9deb3f4bb..dc4c806ff 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 | /// Some drivers do not properly support floatBitsToUint when used on cbufs | 68 | /// Some drivers do not properly support floatBitsToUint when used on cbufs |
| 69 | bool has_gl_cbuf_ftou_bug{}; | 69 | bool has_gl_cbuf_ftou_bug{}; |
| 70 | /// Some drivers poorly optimize boolean variable references | ||
| 71 | bool has_gl_bool_ref_bug{}; | ||
| 70 | /// Ignores SPIR-V ordered vs unordered using GLSL semantics | 72 | /// Ignores SPIR-V ordered vs unordered using GLSL semantics |
| 71 | bool ignore_nan_fp_comparisons{}; | 73 | bool ignore_nan_fp_comparisons{}; |
| 72 | 74 | ||