aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/ShaderProgram.cs
diff options
context:
space:
mode:
authorgdk <gab.dark.100@gmail.com>2019-11-14 14:20:30 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commitf0a59f345c633b757ebd2a22fca23d7dab0f9f99 (patch)
tree444aa5ac024119594bc9f5b51e3710483537e6e6 /Ryujinx.Graphics.Shader/ShaderProgram.cs
parentd274328c3192fd85b9eec661b00f1599d673776c (diff)
Add partial support for the BRX shader instruction
Diffstat (limited to 'Ryujinx.Graphics.Shader/ShaderProgram.cs')
-rw-r--r--Ryujinx.Graphics.Shader/ShaderProgram.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/ShaderProgram.cs b/Ryujinx.Graphics.Shader/ShaderProgram.cs
index 5d04f2cf..4d0c6e5b 100644
--- a/Ryujinx.Graphics.Shader/ShaderProgram.cs
+++ b/Ryujinx.Graphics.Shader/ShaderProgram.cs
@@ -10,11 +10,14 @@ namespace Ryujinx.Graphics.Shader
public string Code { get; private set; }
- internal ShaderProgram(ShaderProgramInfo info, ShaderStage stage, string code)
+ public int Size { get; }
+
+ internal ShaderProgram(ShaderProgramInfo info, ShaderStage stage, string code, int size)
{
Info = info;
Stage = stage;
Code = code;
+ Size = size;
}
public void Prepend(string line)