PixelShaderGen: Don't disable depth texture emulation if z writing is disabled (this is what VideoSoftware is doing).

This commit is contained in:
NeoBrainX
2013-01-08 16:01:15 +01:00
parent e979b2d4a2
commit 876eee5e60
5 changed files with 12 additions and 13 deletions

View File

@ -784,7 +784,7 @@ void Tev::Draw()
output[BLU_C] = (output[BLU_C] * invFog + fogInt * bpmem.fog.color.b) >> 8;
}
if (!bpmem.zcontrol.zcomploc && bpmem.zmode.testenable)
if (!bpmem.zcontrol.early_ztest && bpmem.zmode.testenable)
{
if (!EfbInterface::ZCompare(Position[0], Position[1], Position[2]))
return;