summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_ir.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-08-29 18:58:43 +0200
committerGitHub <noreply@github.com>2019-08-29 18:58:43 +0200
commitf8cc5668f80d0c63f5ce850286760807462e1d72 (patch)
tree8856d97bfb22f9cc9c726e7020de051a9deef178 /src/video_core/shader/shader_ir.h
parentMerge pull request #2786 from ReinUsesLisp/vote (diff)
parentshader/decode: Implement S2R Tic (diff)
downloadyuzu-f8cc5668f80d0c63f5ce850286760807462e1d72.tar
yuzu-f8cc5668f80d0c63f5ce850286760807462e1d72.tar.gz
yuzu-f8cc5668f80d0c63f5ce850286760807462e1d72.tar.bz2
yuzu-f8cc5668f80d0c63f5ce850286760807462e1d72.tar.lz
yuzu-f8cc5668f80d0c63f5ce850286760807462e1d72.tar.xz
yuzu-f8cc5668f80d0c63f5ce850286760807462e1d72.tar.zst
yuzu-f8cc5668f80d0c63f5ce850286760807462e1d72.zip
Diffstat (limited to 'src/video_core/shader/shader_ir.h')
-rw-r--r--src/video_core/shader/shader_ir.h3
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 99d06ff4a..bcc9b79b6 100644
--- a/src/video_core/shader/shader_ir.h
+++ b/src/video_core/shader/shader_ir.h
@@ -280,6 +280,9 @@ private:
/// Extracts a sequence of bits from a node
Node BitfieldExtract(Node value, u32 offset, u32 bits);
+ /// Inserts a sequence of bits from a node
+ Node BitfieldInsert(Node base, Node insert, u32 offset, u32 bits);
+
void WriteTexInstructionFloat(NodeBlock& bb, Tegra::Shader::Instruction instr,
const Node4& components);