Do not attempt to read unused attribute, fix attributes count (#520)
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user