mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
Ignore ZR target texture color registers on shader
This commit is contained in:
parent
7cda630aba
commit
5f0dd965bf
1 changed files with 8 additions and 3 deletions
|
@ -95,6 +95,11 @@ namespace Ryujinx.Graphics.Gal.Shader
|
||||||
|
|
||||||
Dst.Index += Ch & 1;
|
Dst.Index += Ch & 1;
|
||||||
|
|
||||||
|
if (Dst.Index >= ShaderIrOperGpr.ZRIndex)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
Block.AddNode(GetPredNode(new ShaderIrAsg(Dst, Src), OpCode));
|
Block.AddNode(GetPredNode(new ShaderIrAsg(Dst, Src), OpCode));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue