diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-21 02:49:59 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 21:54:49 +0100 |
commit | 2f87fd060d6bed70fb90d97f8c847a0bd03d4c43 (patch) | |
tree | 7aad8cb65562a6b304ed692c23d7f6e16ad2d850 /src/video_core/shader/shader_ir.h | |
parent | shader_ir: Add attribute getters (diff) | |
download | yuzu-2f87fd060d6bed70fb90d97f8c847a0bd03d4c43.tar yuzu-2f87fd060d6bed70fb90d97f8c847a0bd03d4c43.tar.gz yuzu-2f87fd060d6bed70fb90d97f8c847a0bd03d4c43.tar.bz2 yuzu-2f87fd060d6bed70fb90d97f8c847a0bd03d4c43.tar.lz yuzu-2f87fd060d6bed70fb90d97f8c847a0bd03d4c43.tar.xz yuzu-2f87fd060d6bed70fb90d97f8c847a0bd03d4c43.tar.zst yuzu-2f87fd060d6bed70fb90d97f8c847a0bd03d4c43.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index fde1594aa..d839d1f1b 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -629,6 +629,8 @@ private: const Tegra::Shader::IpaMode& input_mode, Node buffer = {}); /// Generates a node representing an output atttribute. Keeps track of used attributes. Node GetOutputAttribute(Tegra::Shader::Attribute::Index index, u64 element, Node buffer); + /// Generates a node representing an internal flag + Node GetInternalFlag(InternalFlag flag, bool negated = false); template <typename... T> inline Node Operation(OperationCode code, const T*... operands) { |