diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-29 18:42:17 -0300 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:40 -0400 |
commit | 8722668b3c027f0132d0be07e867247debd08d30 (patch) | |
tree | f921ddda0a9d30d1f8845964c8018b6d5783c429 /src/shader_recompiler/profile.h | |
parent | 1b27a2b59798c7028ad533b5d92b2d9900860d65 (diff) |
emit_spirv: Workaround VK_KHR_shader_float_controls on fp16 Nvidia
Fix regression on Fire Emblem: Three Houses when using native fp16.
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 ee1887b569..6ff12387ba 100644 --- a/src/shader_recompiler/profile.h +++ b/src/shader_recompiler/profile.h @@ -58,6 +58,8 @@ struct Profile { bool has_broken_unsigned_image_offsets{}; /// Signed instructions with unsigned data types are misinterpreted bool has_broken_signed_operations{}; + /// Float controls break when fp16 is enabled + bool has_broken_fp16_float_controls{}; /// Dynamic vec4 indexing is broken on some OpenGL drivers bool has_gl_component_indexing_bug{}; /// The precise type qualifier is broken in the fragment stage of some drivers |