summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/profile.h')
-rw-r--r--src/shader_recompiler/profile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/profile.h b/src/shader_recompiler/profile.h
index 253e0d0bd..31390e869 100644
--- a/src/shader_recompiler/profile.h
+++ b/src/shader_recompiler/profile.h
@@ -52,6 +52,10 @@ struct Profile {
52 bool need_declared_frag_colors{}; 52 bool need_declared_frag_colors{};
53 /// Prevents fast math optimizations that may cause inaccuracies 53 /// Prevents fast math optimizations that may cause inaccuracies
54 bool need_fastmath_off{}; 54 bool need_fastmath_off{};
55 /// Some GPU vendors use a lower fixed point format of 16.8 when calculating pixel coordinates
56 /// in the ImageGather instruction than the Maxwell architecture does. Applying an offset does
57 /// fix this mismatching rounding behaviour.
58 bool need_gather_subpixel_offset{};
55 59
56 /// OpFClamp is broken and OpFMax + OpFMin should be used instead 60 /// OpFClamp is broken and OpFMax + OpFMin should be used instead
57 bool has_broken_spirv_clamp{}; 61 bool has_broken_spirv_clamp{};