aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/INode.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Graphics.Shader/IntermediateRepresentation/INode.cs')
-rw-r--r--src/Ryujinx.Graphics.Shader/IntermediateRepresentation/INode.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/INode.cs b/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/INode.cs
new file mode 100644
index 00000000..0f545e56
--- /dev/null
+++ b/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/INode.cs
@@ -0,0 +1,15 @@
+namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
+{
+ interface INode
+ {
+ Operand Dest { get; set; }
+
+ int DestsCount { get; }
+ int SourcesCount { get; }
+
+ Operand GetDest(int index);
+ Operand GetSource(int index);
+
+ void SetSource(int index, Operand operand);
+ }
+} \ No newline at end of file