Ignore ZR target texture color registers on shader

This commit is contained in:
gdkchan 2018-04-30 14:32:54 -03:00
parent 7cda630aba
commit 5f0dd965bf

View File

@ -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));
} }
} }