mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-10 10:08:58 +00:00
PixelShaderGen: Don't disable depth texture emulation if z writing is disabled (this is what VideoSoftware is doing).
This commit is contained in:
parent
e979b2d4a2
commit
876eee5e60
5 changed files with 12 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue