diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-28 22:49:50 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-12 05:34:42 +0200 |
commit | 76f178ba6e7cc2925ffada341d1e14fb159e93c7 (patch) | |
tree | fec59062ca81807bd8ac4dc8e0216fe2f5c27384 /src/video_core/shader/shader_ir.h | |
parent | shader_bytecode: Fix I2I_IMM encoding (diff) | |
download | yuzu-76f178ba6e7cc2925ffada341d1e14fb159e93c7.tar yuzu-76f178ba6e7cc2925ffada341d1e14fb159e93c7.tar.gz yuzu-76f178ba6e7cc2925ffada341d1e14fb159e93c7.tar.bz2 yuzu-76f178ba6e7cc2925ffada341d1e14fb159e93c7.tar.lz yuzu-76f178ba6e7cc2925ffada341d1e14fb159e93c7.tar.xz yuzu-76f178ba6e7cc2925ffada341d1e14fb159e93c7.tar.zst yuzu-76f178ba6e7cc2925ffada341d1e14fb159e93c7.zip |
Diffstat (limited to 'src/video_core/shader/shader_ir.h')
-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 80fc9b82c..0f1ebef1b 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -350,6 +350,9 @@ private: /// Marks the usage of a input or output attribute. void MarkAttributeUsage(Tegra::Shader::Attribute::Index index, u64 element); + /// Decodes VMNMX instruction and inserts its code into the passed basic block. + void DecodeVMNMX(NodeBlock& bb, Tegra::Shader::Instruction instr); + void WriteTexInstructionFloat(NodeBlock& bb, Tegra::Shader::Instruction instr, const Node4& components); |