summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_ir.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-07-12 02:14:44 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-07-22 21:16:10 +0200
commit104641db07d04cd32bc83986e2ea05711fab3b5f (patch)
tree6d113ada45986a54f23da1ef5324122069c31c1b /src/video_core/shader/shader_ir.h
parentMerge pull request #2734 from ReinUsesLisp/compute-shaders (diff)
downloadyuzu-104641db07d04cd32bc83986e2ea05711fab3b5f.tar
yuzu-104641db07d04cd32bc83986e2ea05711fab3b5f.tar.gz
yuzu-104641db07d04cd32bc83986e2ea05711fab3b5f.tar.bz2
yuzu-104641db07d04cd32bc83986e2ea05711fab3b5f.tar.lz
yuzu-104641db07d04cd32bc83986e2ea05711fab3b5f.tar.xz
yuzu-104641db07d04cd32bc83986e2ea05711fab3b5f.tar.zst
yuzu-104641db07d04cd32bc83986e2ea05711fab3b5f.zip
Diffstat (limited to '')
-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 59a083d90..0509a5f88 100644
--- a/src/video_core/shader/shader_ir.h
+++ b/src/video_core/shader/shader_ir.h
@@ -279,6 +279,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);