emit_spirv: Workaround VK_KHR_shader_float_controls on fp16 Nvidia

Fix regression on Fire Emblem: Three Houses when using native fp16.
This commit is contained in:
ReinUsesLisp 2021-06-29 18:42:17 -03:00 committed by ameerj
parent 1b27a2b597
commit 8722668b3c
4 changed files with 12 additions and 5 deletions

View file

@ -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