mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-26 20:22:22 +00:00
Video_Software: Fix stuff.
This commit is contained in:
parent
d734a5b486
commit
49d1da5e7e
5 changed files with 36 additions and 18 deletions
|
@ -787,13 +787,15 @@ void Tev::Draw()
|
|||
|
||||
if (!bpmem.zcontrol.zcomploc)
|
||||
{
|
||||
SWPixelEngine::pereg.perfZcompInput++;
|
||||
if (++SWPixelEngine::pereg.perfZcompInputLo == 0)
|
||||
SWPixelEngine::pereg.perfZcompInputHi++;
|
||||
if (bpmem.zmode.testenable)
|
||||
{
|
||||
if (!EfbInterface::ZCompare(Position[0], Position[1], Position[2]))
|
||||
return;
|
||||
}
|
||||
SWPixelEngine::pereg.perfZcompOutput++;
|
||||
if (++SWPixelEngine::pereg.perfZcompOutputLo == 0)
|
||||
SWPixelEngine::pereg.perfZcompOutputHi++;
|
||||
}
|
||||
|
||||
#if ALLOW_TEV_DUMPS
|
||||
|
@ -818,7 +820,8 @@ void Tev::Draw()
|
|||
|
||||
INCSTAT(swstats.thisFrame.tevPixelsOut);
|
||||
|
||||
SWPixelEngine::pereg.perfBlendInput++;
|
||||
if (++SWPixelEngine::pereg.perfBlendInputLo)
|
||||
SWPixelEngine::pereg.perfBlendInputHi++;
|
||||
|
||||
EfbInterface::BlendTev(Position[0], Position[1], output);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue