Fix TEXS ARRAY_2D index

This commit is contained in:
Thog 2018-12-06 23:22:04 +01:00
commit 8a186e2e65
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6

View file

@ -554,7 +554,7 @@ namespace Ryujinx.Graphics.Gal.Shader
if (IsArray) if (IsArray)
{ {
CoordStartIndex++; CoordStartIndex++;
Coords[Coords.Length - 1] = OperB; Coords[Coords.Length - 1] = OpCode.Gpr8();
} }
switch (Coords.Length - CoordStartIndex) switch (Coords.Length - CoordStartIndex)