Use a constant for the value in ShaderTools

This commit is contained in:
Thog 2018-12-07 01:11:24 +01:00
commit d7bfe1b7a5
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6

View file

@ -7,11 +7,13 @@ namespace Ryujinx.ShaderTools
{ {
class Program class Program
{ {
private static readonly int MaxUboSize = 65536;
static void Main(string[] args) static void Main(string[] args)
{ {
if (args.Length == 2) if (args.Length == 2)
{ {
GlslDecompiler Decompiler = new GlslDecompiler(65536); GlslDecompiler Decompiler = new GlslDecompiler(MaxUboSize);
GalShaderType ShaderType = GalShaderType.Vertex; GalShaderType ShaderType = GalShaderType.Vertex;