Use a constant for the value in ShaderTools

This commit is contained in:
Thog 2018-12-07 01:11:24 +01:00
parent 17c31c06b7
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
{
private static readonly int MaxUboSize = 65536;
static void Main(string[] args)
{
if (args.Length == 2)
{
GlslDecompiler Decompiler = new GlslDecompiler(65536);
GlslDecompiler Decompiler = new GlslDecompiler(MaxUboSize);
GalShaderType ShaderType = GalShaderType.Vertex;