diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-21 06:02:15 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 21:54:51 +0100 |
commit | 39f1c6246a3c5140f4c2b9a2ba3cbcaecf9521dd (patch) | |
tree | a619359c0feefa8d035a754f03194b5adcf9cb25 /src/video_core/shader/shader_ir.h | |
parent | shader_decode: Implement BFE (diff) | |
download | yuzu-39f1c6246a3c5140f4c2b9a2ba3cbcaecf9521dd.tar yuzu-39f1c6246a3c5140f4c2b9a2ba3cbcaecf9521dd.tar.gz yuzu-39f1c6246a3c5140f4c2b9a2ba3cbcaecf9521dd.tar.bz2 yuzu-39f1c6246a3c5140f4c2b9a2ba3cbcaecf9521dd.tar.lz yuzu-39f1c6246a3c5140f4c2b9a2ba3cbcaecf9521dd.tar.xz yuzu-39f1c6246a3c5140f4c2b9a2ba3cbcaecf9521dd.tar.zst yuzu-39f1c6246a3c5140f4c2b9a2ba3cbcaecf9521dd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 23a4de2a7..b67fd6531 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -697,6 +697,11 @@ private: Tegra::Shader::TextureProcessMode process_mode, bool depth_compare, bool is_array, std::size_t bias_offset, std::vector<Node>&& coords); + void WriteLogicOperation(BasicBlock& bb, Tegra::Shader::Register dest, + Tegra::Shader::LogicOperation logic_op, Node op_a, Node op_b, + Tegra::Shader::PredicateResultMode predicate_mode, + Tegra::Shader::Pred predicate); + template <typename... T> inline Node Operation(OperationCode code, const T*... operands) { return StoreNode(OperationNode(code, operands...)); |