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

@ -125,7 +125,7 @@ inline void Draw(s32 x, s32 y, s32 xi, s32 yi)
if (z < 0 || z > 0x00ffffff)
return;
if (bpmem.zcontrol.zcomploc && bpmem.zmode.testenable)
if (bpmem.zcontrol.early_ztest && bpmem.zmode.testenable)
{
// early z
if (!EfbInterface::ZCompare(x, y, z))