summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/profile.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-06-15 23:23:57 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:38 +0200
commitd36f667bc0adaa9f50d53efb4c908aadc38921a6 (patch)
tree13a6a6106ca576214db66d50a618b404cc5c7cac /src/shader_recompiler/profile.h
parentglsl: Move gl_Position/generic attribute initialization to EmitProlgue (diff)
downloadyuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar
yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar.gz
yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar.bz2
yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar.lz
yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar.xz
yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar.zst
yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.zip
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 e8cfc03af..a3c412a0f 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{};