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.cs20
1 files changed, 20 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..e616aa1f
--- /dev/null
+++ b/Ryujinx.Graphics/Shader/CodeGen/Glsl/GlslProgram.cs
@@ -0,0 +1,20 @@
+namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
+{
+ class GlslProgram
+ {
+ public CBufferDescriptor[] CBufferDescriptors { get; }
+ public TextureDescriptor[] TextureDescriptors { get; }
+
+ public string Code { get; }
+
+ public GlslProgram(
+ CBufferDescriptor[] cBufferDescs,
+ TextureDescriptor[] textureDescs,
+ string code)
+ {
+ CBufferDescriptors = cBufferDescs;
+ TextureDescriptors = textureDescs;
+ Code = code;
+ }
+ }
+} \ No newline at end of file