diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-12-26 17:29:50 -0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-26 17:29:50 -0200 |
| commit | 1fd1ec5664fdf6f29c04f2449cd3d8645e520661 (patch) | |
| tree | 345ad94bf4cba023e1a8d59c0ec740b3ce6ee7c3 /Ryujinx.Graphics/Gal | |
| parent | 0f5b6dfbe8d4bcc4df3f670e366a967d8ea103db (diff) | |
Do not attempt to read unused attribute, fix attributes count (#520)
Diffstat (limited to 'Ryujinx.Graphics/Gal')
| -rw-r--r-- | Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs b/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs index 92bdd658..e6fb7ea1 100644 --- a/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs +++ b/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs @@ -878,7 +878,7 @@ namespace Ryujinx.Graphics.Gal.Shader } } - if (DeclInfo.Index >= 16) + if (DeclInfo.Index >= 32) { throw new InvalidOperationException($"Shader attribute offset {Abuf.Offs} is invalid."); } |
