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
This commit is contained in:
parent
ea14a95524
commit
796e5d14b4
9 changed files with 365 additions and 220 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue