Add partial support for the BRX shader instruction

This commit is contained in:
gdk
2020-01-09 02:13:00 +01:00
committed by Thog
parent d274328c31
commit f0a59f345c
15 changed files with 242 additions and 126 deletions
+4 -1
View File
@@ -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)