diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-21 03:42:02 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 21:54:50 +0100 |
commit | fbc67a05637f3acb47f933066fb2e548f9d35d8c (patch) | |
tree | f8e100455b0317dd29e4f97dd85506258ecc1978 /src/video_core/shader/shader_ir.h | |
parent | shader_ir: Add predicate combiner helper (diff) | |
download | yuzu-fbc67a05637f3acb47f933066fb2e548f9d35d8c.tar yuzu-fbc67a05637f3acb47f933066fb2e548f9d35d8c.tar.gz yuzu-fbc67a05637f3acb47f933066fb2e548f9d35d8c.tar.bz2 yuzu-fbc67a05637f3acb47f933066fb2e548f9d35d8c.tar.lz yuzu-fbc67a05637f3acb47f933066fb2e548f9d35d8c.tar.xz yuzu-fbc67a05637f3acb47f933066fb2e548f9d35d8c.tar.zst yuzu-fbc67a05637f3acb47f933066fb2e548f9d35d8c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 3 |
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 f13129ab3..8223ff044 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -672,6 +672,9 @@ private: /// Returns a predicate combiner operation OperationCode GetPredicateCombiner(Tegra::Shader::PredOperation operation); + /// Returns a condition code evaluated from internal flags + Node GetConditionCode(Tegra::Shader::ConditionCode cc); + template <typename... T> inline Node Operation(OperationCode code, const T*... operands) { return StoreNode(OperationNode(code, operands...)); |