diff options
author | gdkchan <gab.dark.100@gmail.com> | 2020-02-02 00:25:52 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-02 14:25:52 +1100 |
commit | 796e5d14b4fadc15439d273f8ff8f9e9afc4033a (patch) | |
tree | e45cbac1f155d939941bdb0aebeb29222e92abe4 /Ryujinx.Graphics.OpenGL/Program.cs | |
parent | ea14a955243705b5d5b22868c30c174e6524b4d3 (diff) |
Use correct shader local memory size instead of a hardcoded size (#914)
* Use correct shader local size instead of a hardcoded size
* Remove unused uniform block
* Update XML doc
* Local memory size has 23 bits on maxwell
* Generate compute QMD struct from nv open doc header
* Remove dummy arrays when shared or local memory is not used, other improvements
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Program.cs')
-rw-r--r-- | Ryujinx.Graphics.OpenGL/Program.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Program.cs b/Ryujinx.Graphics.OpenGL/Program.cs index a8ee7ae8..fe14e9a9 100644 --- a/Ryujinx.Graphics.OpenGL/Program.cs +++ b/Ryujinx.Graphics.OpenGL/Program.cs @@ -77,14 +77,7 @@ namespace Ryujinx.Graphics.OpenGL Bind(); - int extraBlockindex = GL.GetUniformBlockIndex(Handle, "Extra"); - - if (extraBlockindex >= 0) - { - GL.UniformBlockBinding(Handle, extraBlockindex, 0); - } - - int ubBindingPoint = 1; + int ubBindingPoint = 0; int sbBindingPoint = 0; int textureUnit = 0; int imageUnit = 0; |