mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-11 04:37:49 +02:00
Move MaxUboSize definition (#530)
* Move MaxUboSize definition This fix a crash on Ryujinx.ShaderTools caused by the absence of an OpenGL context. * Use a constant for the value in ShaderTools * Address comments
This commit is contained in:

committed by
gdkchan

parent
6aaf9ccb53
commit
33e7c89822
@@ -1,4 +1,3 @@
|
||||
using Ryujinx.Graphics.Gal.OpenGL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -50,8 +49,6 @@ namespace Ryujinx.Graphics.Gal.Shader
|
||||
public const string SsyStackName = "ssy_stack";
|
||||
public const string SsyCursorName = "ssy_cursor";
|
||||
|
||||
public static int MaxUboSize => OGLLimit.MaxUboSize / 16;
|
||||
|
||||
private string[] StagePrefixes = new string[] { "vp", "tcp", "tep", "gp", "fp" };
|
||||
|
||||
private string StagePrefix;
|
||||
|
Reference in New Issue
Block a user