aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/profile.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-06-15 17:23:57 -0400
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:38 -0400
commitd36f667bc0adaa9f50d53efb4c908aadc38921a6 (patch)
tree13a6a6106ca576214db66d50a618b404cc5c7cac /src/shader_recompiler/profile.h
parentc5dfa0b6308fa0f79b3323204b6c61d38d43ff87 (diff)
glsl: Address rest of feedback
Diffstat (limited to 'src/shader_recompiler/profile.h')
-rw-r--r--src/shader_recompiler/profile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/profile.h b/src/shader_recompiler/profile.h
index e8cfc03af3..a3c412a0fe 100644
--- a/src/shader_recompiler/profile.h
+++ b/src/shader_recompiler/profile.h
@@ -97,6 +97,8 @@ struct Profile {
/// Fragment outputs have to be declared even if they are not written to avoid undefined values.
/// See Ori and the Blind Forest's main menu for reference.
bool need_declared_frag_colors{};
+ /// Prevents fast math optimizations that may cause inaccuracies
+ bool need_fastmath_off{};
/// OpFClamp is broken and OpFMax + OpFMin should be used instead
bool has_broken_spirv_clamp{};