summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/profile.h
diff options
context:
space:
mode:
authorGravatar ameerj2021-06-15 17:23:57 -0400
committerGravatar ameerj2021-07-22 21:51:38 -0400
commitd36f667bc0adaa9f50d53efb4c908aadc38921a6 (patch)
tree13a6a6106ca576214db66d50a618b404cc5c7cac /src/shader_recompiler/profile.h
parentglsl: Move gl_Position/generic attribute initialization to EmitProlgue (diff)
downloadyuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar.gz
yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.tar.xz
yuzu-d36f667bc0adaa9f50d53efb4c908aadc38921a6.zip
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 e8cfc03af..a3c412a0f 100644
--- a/src/shader_recompiler/profile.h
+++ b/src/shader_recompiler/profile.h
@@ -97,6 +97,8 @@ struct Profile {
97 /// Fragment outputs have to be declared even if they are not written to avoid undefined values. 97 /// Fragment outputs have to be declared even if they are not written to avoid undefined values.
98 /// See Ori and the Blind Forest's main menu for reference. 98 /// See Ori and the Blind Forest's main menu for reference.
99 bool need_declared_frag_colors{}; 99 bool need_declared_frag_colors{};
100 /// Prevents fast math optimizations that may cause inaccuracies
101 bool need_fastmath_off{};
100 102
101 /// OpFClamp is broken and OpFMax + OpFMin should be used instead 103 /// OpFClamp is broken and OpFMax + OpFMin should be used instead
102 bool has_broken_spirv_clamp{}; 104 bool has_broken_spirv_clamp{};