summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/host_translate_info.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-09-02 02:36:26 +0200
committerGitHub <noreply@github.com>2021-09-02 02:36:26 +0200
commitb2572a56d3ab3c327f766d718bbdd16be6bc1635 (patch)
treec02a5e36766a4f94338c015f7c560e6bca63656f /src/shader_recompiler/host_translate_info.h
parentMerge pull request #6951 from german77/log (diff)
parentstructured_control_flow: Skip reordering nested demote branches. (diff)
downloadyuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.tar
yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.tar.gz
yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.tar.bz2
yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.tar.lz
yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.tar.xz
yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.tar.zst
yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/host_translate_info.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shader_recompiler/host_translate_info.h b/src/shader_recompiler/host_translate_info.h
index 94a584219..96468b2e7 100644
--- a/src/shader_recompiler/host_translate_info.h
+++ b/src/shader_recompiler/host_translate_info.h
@@ -11,8 +11,9 @@ namespace Shader {
/// Misc information about the host
struct HostTranslateInfo {
- bool support_float16{}; ///< True when the device supports 16-bit floats
- bool support_int64{}; ///< True when the device supports 64-bit integers
+ bool support_float16{}; ///< True when the device supports 16-bit floats
+ bool support_int64{}; ///< True when the device supports 64-bit integers
+ bool needs_demote_reorder{}; ///< True when the device needs DemoteToHelperInvocation reordered
};
} // namespace Shader