Use a constant for the value in ShaderTools
This commit is contained in:
parent
17c31c06b7
commit
d7bfe1b7a5
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue