summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/profile.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-21 07:12:32 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:33 +0200
commit9e7b6622c25aa858b96bf0f1c7f94223a2f449a2 (patch)
tree48c62889aeb79d6f0f01a467ba0d1ac01dec512b /src/shader_recompiler/profile.h
parentemit_glasm_context_get_and_set.cpp: Add missing semicolons (diff)
downloadyuzu-9e7b6622c25aa858b96bf0f1c7f94223a2f449a2.tar
yuzu-9e7b6622c25aa858b96bf0f1c7f94223a2f449a2.tar.gz
yuzu-9e7b6622c25aa858b96bf0f1c7f94223a2f449a2.tar.bz2
yuzu-9e7b6622c25aa858b96bf0f1c7f94223a2f449a2.tar.lz
yuzu-9e7b6622c25aa858b96bf0f1c7f94223a2f449a2.tar.xz
yuzu-9e7b6622c25aa858b96bf0f1c7f94223a2f449a2.tar.zst
yuzu-9e7b6622c25aa858b96bf0f1c7f94223a2f449a2.zip
Diffstat (limited to 'src/shader_recompiler/profile.h')
-rw-r--r--src/shader_recompiler/profile.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/shader_recompiler/profile.h b/src/shader_recompiler/profile.h
index 12699511a..c46452c3d 100644
--- a/src/shader_recompiler/profile.h
+++ b/src/shader_recompiler/profile.h
@@ -81,19 +81,22 @@ struct Profile {
bool support_viewport_mask{};
bool support_typeless_image_loads{};
bool support_demote_to_helper_invocation{};
- bool warp_size_potentially_larger_than_guest{};
bool support_int64_atomics{};
+
+ bool warp_size_potentially_larger_than_guest{};
bool lower_left_origin_mode{};
- // FClamp is broken and OpFMax + OpFMin should be used instead
+ /// OpFClamp is broken and OpFMax + OpFMin should be used instead
bool has_broken_spirv_clamp{};
- // Offset image operands with an unsigned type do not work
+ /// Offset image operands with an unsigned type do not work
bool has_broken_unsigned_image_offsets{};
- // Signed instructions with unsigned data types are misinterpreted
+ /// Signed instructions with unsigned data types are misinterpreted
bool has_broken_signed_operations{};
- // Ignores SPIR-V ordered vs unordered using GLSL semantics
+ /// Ignores SPIR-V ordered vs unordered using GLSL semantics
bool ignore_nan_fp_comparisons{};
+};
+struct RuntimeInfo {
std::array<AttributeType, 32> generic_input_types{};
bool convert_depth_mode{};
bool force_early_z{};