Address comments

This commit is contained in:
Thog 2018-12-17 16:07:52 +01:00
commit 27ffbc3b68
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6

View file

@ -31,7 +31,7 @@ namespace Ryujinx.Graphics.Gal.Shader
private StringBuilder SB; private StringBuilder SB;
public static int MaxUboSize { get; private set; } public int MaxUboSize { get; }
public GlslDecompiler(int MaxUboSize) public GlslDecompiler(int MaxUboSize)
{ {
@ -109,7 +109,7 @@ namespace Ryujinx.Graphics.Gal.Shader
{ ShaderIrInst.Xor, GetXorExpr } { ShaderIrInst.Xor, GetXorExpr }
}; };
GlslDecompiler.MaxUboSize = MaxUboSize / 16; this.MaxUboSize = MaxUboSize / 16;
} }
public GlslProgram Decompile( public GlslProgram Decompile(