1 2 3 4 5 6 7 8 9 10 11 12
using OpenTK.Graphics.OpenGL; using System; namespace Ryujinx.Graphics.Gal.OpenGL { static class OglLimit { private static Lazy<int> _sMaxUboSize = new Lazy<int>(() => GL.GetInteger(GetPName.MaxUniformBlockSize)); public static int MaxUboSize => _sMaxUboSize.Value; } }