mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-10 19:36:40 +00:00
59964f667c
* Add support for bigger UBOs, fix sRGB regression, small improvement to the 2D copy engine * Break into multiple lines * Read fractions for source/step values on the 2d copy engine aswell * Use fixed point math for more speed * Fix reinterpret when texture sizes are different
12 lines
No EOL
299 B
C#
12 lines
No EOL
299 B
C#
using OpenTK.Graphics.OpenGL;
|
|
using System;
|
|
|
|
namespace Ryujinx.Graphics.Gal.OpenGL
|
|
{
|
|
static class OGLLimit
|
|
{
|
|
private static Lazy<int> s_MaxUboSize = new Lazy<int>(() => GL.GetInteger(GetPName.MaxUniformBlockSize));
|
|
|
|
public static int MaxUboSize => s_MaxUboSize.Value;
|
|
}
|
|
} |