mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-05 02:32:45 +00:00
VideoSoftware: Cleanup PE perf metrics; returning the proper value now.
This commit is contained in:
parent
7682ed22c6
commit
d0dbcc6369
5 changed files with 57 additions and 27 deletions
|
@ -150,18 +150,15 @@ inline void Draw(s32 x, s32 y, s32 xi, s32 yi)
|
|||
|
||||
if (bpmem.zcontrol.early_ztest && bpmem.zmode.testenable && g_SWVideoConfig.bZComploc)
|
||||
{
|
||||
// TODO: Verify that perf regs are being incremented even if test is disabled
|
||||
if (++SWPixelEngine::pereg.perfZcompInputZcomplocLo == 0)
|
||||
SWPixelEngine::pereg.perfZcompInputZcomplocHi++;
|
||||
|
||||
// TODO: Test if perf regs are incremented even if test is disabled
|
||||
SWPixelEngine::pereg.IncZInputQuadCount(true);
|
||||
if (bpmem.zmode.testenable)
|
||||
{
|
||||
// early z
|
||||
if (!EfbInterface::ZCompare(x, y, z))
|
||||
return;
|
||||
}
|
||||
if (++SWPixelEngine::pereg.perfZcompOutputZcomplocLo == 0)
|
||||
SWPixelEngine::pereg.perfZcompOutputZcomplocHi++;
|
||||
SWPixelEngine::pereg.IncZOutputQuadCount(true);
|
||||
}
|
||||
|
||||
RasterBlockPixel& pixel = rasterBlock.Pixel[xi][yi];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue