diff options
| author | 2021-12-27 23:59:32 -0500 | |
|---|---|---|
| committer | 2021-12-29 19:03:50 -0500 | |
| commit | b84d429c2ec59e54a89d9d4e34b0df9f22172e8f (patch) | |
| tree | e275b74a6fb2d16219697cbad38925e2e660e058 /src/shader_recompiler/profile.h | |
| parent | emit_glsl_integer: Use negation work around (diff) | |
| download | yuzu-b84d429c2ec59e54a89d9d4e34b0df9f22172e8f.tar.gz yuzu-b84d429c2ec59e54a89d9d4e34b0df9f22172e8f.tar.xz yuzu-b84d429c2ec59e54a89d9d4e34b0df9f22172e8f.zip | |
glsl_context_get_set: Add alternative cbuf type for broken drivers
some drivers have a bug bitwise converting floating point cbuf values to uint variables. This adds a workaround for these drivers to make all cbufs uint and convert to floating point as needed.
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 f0c3b3b17..9deb3f4bb 100644 --- a/src/shader_recompiler/profile.h +++ b/src/shader_recompiler/profile.h | |||
| @@ -65,6 +65,8 @@ struct Profile { | |||
| 65 | bool has_gl_component_indexing_bug{}; | 65 | bool has_gl_component_indexing_bug{}; |
| 66 | /// The precise type qualifier is broken in the fragment stage of some drivers | 66 | /// The precise type qualifier is broken in the fragment stage of some drivers |
| 67 | bool has_gl_precise_bug{}; | 67 | bool has_gl_precise_bug{}; |
| 68 | /// Some drivers do not properly support floatBitsToUint when used on cbufs | ||
| 69 | bool has_gl_cbuf_ftou_bug{}; | ||
| 68 | /// Ignores SPIR-V ordered vs unordered using GLSL semantics | 70 | /// Ignores SPIR-V ordered vs unordered using GLSL semantics |
| 69 | bool ignore_nan_fp_comparisons{}; | 71 | bool ignore_nan_fp_comparisons{}; |
| 70 | 72 | ||