summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_ir.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-12-21 03:40:54 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-15 21:54:49 +0100
commita58abbcfc4580c8d43935e2aecc6fa151509bf5b (patch)
tree7133d18e62891991f5ea0e6c06332c0c72ecebb4 /src/video_core/shader/shader_ir.h
parentshader_ir: Add comparison helpers (diff)
downloadyuzu-a58abbcfc4580c8d43935e2aecc6fa151509bf5b.tar
yuzu-a58abbcfc4580c8d43935e2aecc6fa151509bf5b.tar.gz
yuzu-a58abbcfc4580c8d43935e2aecc6fa151509bf5b.tar.bz2
yuzu-a58abbcfc4580c8d43935e2aecc6fa151509bf5b.tar.lz
yuzu-a58abbcfc4580c8d43935e2aecc6fa151509bf5b.tar.xz
yuzu-a58abbcfc4580c8d43935e2aecc6fa151509bf5b.tar.zst
yuzu-a58abbcfc4580c8d43935e2aecc6fa151509bf5b.zip
Diffstat (limited to 'src/video_core/shader/shader_ir.h')
-rw-r--r--src/video_core/shader/shader_ir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h
index 372ed10da..f13129ab3 100644
--- a/src/video_core/shader/shader_ir.h
+++ b/src/video_core/shader/shader_ir.h
@@ -669,6 +669,9 @@ private:
Node GetPredicateComparisonHalf(Tegra::Shader::PredCondition condition,
const MetaHalfArithmetic& meta, Node op_a, Node op_b);
+ /// Returns a predicate combiner operation
+ OperationCode GetPredicateCombiner(Tegra::Shader::PredOperation operation);
+
template <typename... T>
inline Node Operation(OperationCode code, const T*... operands) {
return StoreNode(OperationNode(code, operands...));