Remove component operand for texture gather with depth compare (#6247)
This commit is contained in:
parent
e5066449a5
commit
24c8b0edc0
@ -592,8 +592,11 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
|||||||
flags |= TextureFlags.Offset;
|
flags |= TextureFlags.Offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!tld4sOp.Dc)
|
||||||
|
{
|
||||||
sourcesList.Add(Const((int)tld4sOp.TexComp));
|
sourcesList.Add(Const((int)tld4sOp.TexComp));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw new ArgumentException($"Invalid TEXS type \"{texsType}\".");
|
throw new ArgumentException($"Invalid TEXS type \"{texsType}\".");
|
||||||
|
Loading…
Reference in New Issue
Block a user