aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/CommentNode.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Graphics.Shader/IntermediateRepresentation/CommentNode.cs')
-rw-r--r--src/Ryujinx.Graphics.Shader/IntermediateRepresentation/CommentNode.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/CommentNode.cs b/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/CommentNode.cs
new file mode 100644
index 00000000..d4d87b06
--- /dev/null
+++ b/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/CommentNode.cs
@@ -0,0 +1,12 @@
+namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
+{
+ class CommentNode : Operation
+ {
+ public string Comment { get; }
+
+ public CommentNode(string comment) : base(Instruction.Comment, null)
+ {
+ Comment = comment;
+ }
+ }
+} \ No newline at end of file