diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-21 02:42:47 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 21:54:49 +0100 |
commit | 864e8f55cf48bc6c8ad95c35cbe9217449936662 (patch) | |
tree | 7d1c58e41f74a2b77b57348e5088f88e422a2aab /src/video_core/shader/shader_ir.h | |
parent | shader_ir: Add register getter (diff) | |
download | yuzu-864e8f55cf48bc6c8ad95c35cbe9217449936662.tar yuzu-864e8f55cf48bc6c8ad95c35cbe9217449936662.tar.gz yuzu-864e8f55cf48bc6c8ad95c35cbe9217449936662.tar.bz2 yuzu-864e8f55cf48bc6c8ad95c35cbe9217449936662.tar.lz yuzu-864e8f55cf48bc6c8ad95c35cbe9217449936662.tar.xz yuzu-864e8f55cf48bc6c8ad95c35cbe9217449936662.tar.zst yuzu-864e8f55cf48bc6c8ad95c35cbe9217449936662.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 30b75c3ed..4e786a344 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -616,6 +616,10 @@ private: Node GetImmediate19(Tegra::Shader::Instruction instr); /// Generates a node representing a 32-bit immediate value Node GetImmediate32(Tegra::Shader::Instruction instr); + /// Generates a node representing a constant buffer + Node GetConstBuffer(u64 index, u64 offset); + /// Generates a node representing a constant buffer with a variadic offset + Node GetConstBufferIndirect(u64 index, u64 offset, Node node); /// Generates a node for a passed predicate. It can be optionally negated Node GetPredicate(u64 pred, bool negated = false); /// Generates a predicate node for an immediate true or false value |