aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/CodeGen/Glsl/GlslProgram.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Shader/CodeGen/Glsl/GlslProgram.cs')
-rw-r--r--Ryujinx.Graphics.Shader/CodeGen/Glsl/GlslProgram.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/CodeGen/Glsl/GlslProgram.cs b/Ryujinx.Graphics.Shader/CodeGen/Glsl/GlslProgram.cs
new file mode 100644
index 00000000..7807cb49
--- /dev/null
+++ b/Ryujinx.Graphics.Shader/CodeGen/Glsl/GlslProgram.cs
@@ -0,0 +1,23 @@
+namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
+{
+ class GlslProgram
+ {
+ public BufferDescriptor[] CBufferDescriptors { get; }
+ public BufferDescriptor[] SBufferDescriptors { get; }
+ public TextureDescriptor[] TextureDescriptors { get; }
+
+ public string Code { get; }
+
+ public GlslProgram(
+ BufferDescriptor[] cBufferDescriptors,
+ BufferDescriptor[] sBufferDescriptors,
+ TextureDescriptor[] textureDescriptors,
+ string code)
+ {
+ CBufferDescriptors = cBufferDescriptors;
+ SBufferDescriptors = sBufferDescriptors;
+ TextureDescriptors = textureDescriptors;
+ Code = code;
+ }
+ }
+} \ No newline at end of file