1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-18 15:22:00 +00:00

Remove component operand for texture gather with depth compare (#6247)

This commit is contained in:
gdkchan 2024-02-04 07:10:45 -03:00 committed by GitHub
parent e5066449a5
commit 24c8b0edc0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -592,8 +592,11 @@ namespace Ryujinx.Graphics.Shader.Instructions
flags |= TextureFlags.Offset;
}
if (!tld4sOp.Dc)
{
sourcesList.Add(Const((int)tld4sOp.TexComp));
}
}
else
{
throw new ArgumentException($"Invalid TEXS type \"{texsType}\".");