aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.ShaderTools/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.ShaderTools/Program.cs')
-rw-r--r--Ryujinx.ShaderTools/Program.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Ryujinx.ShaderTools/Program.cs b/Ryujinx.ShaderTools/Program.cs
index 3597f256..30fa71ae 100644
--- a/Ryujinx.ShaderTools/Program.cs
+++ b/Ryujinx.ShaderTools/Program.cs
@@ -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();
+ GlslDecompiler Decompiler = new GlslDecompiler(MaxUboSize);
GalShaderType ShaderType = GalShaderType.Vertex;