mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-22 19:05:46 +00:00
Remove component operand for texture gather with depth compare (#6247)
This commit is contained in:
parent
e5066449a5
commit
24c8b0edc0
1 changed files with 4 additions and 1 deletions
|
@ -592,7 +592,10 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
|||
flags |= TextureFlags.Offset;
|
||||
}
|
||||
|
||||
sourcesList.Add(Const((int)tld4sOp.TexComp));
|
||||
if (!tld4sOp.Dc)
|
||||
{
|
||||
sourcesList.Add(Const((int)tld4sOp.TexComp));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue