diff options
| author | magumagu <magumagu9@gmail.com> | 2014-03-28 19:22:15 -0700 |
|---|---|---|
| committer | magumagu <magumagu9@gmail.com> | 2014-03-29 12:07:20 -0700 |
| commit | 0661efea8456b32d88fa13103f8ed68509f2b69f (patch) | |
| tree | 971ec9afbd3608a5b019db613346f73b112ef0a2 /Source/Core/VideoBackends/Software/Tev.cpp | |
| parent | 47d96e449a5fcee8280368b8ec72eab551b87d31 (diff) | |
Software backend: Delete forked PixelEngine.
Mostly just zapping a bunch of duplicated code; the only interesting thing
going on here is the changes to the performance counter implementation.
Diffstat (limited to 'Source/Core/VideoBackends/Software/Tev.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/Tev.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/Software/Tev.cpp b/Source/Core/VideoBackends/Software/Tev.cpp index 9a57c9a475..89e8efc5c6 100644 --- a/Source/Core/VideoBackends/Software/Tev.cpp +++ b/Source/Core/VideoBackends/Software/Tev.cpp @@ -8,7 +8,6 @@ #include "VideoBackends/Software/DebugUtil.h" #include "VideoBackends/Software/EfbInterface.h" -#include "VideoBackends/Software/SWPixelEngine.h" #include "VideoBackends/Software/SWStatistics.h" #include "VideoBackends/Software/SWVideoConfig.h" #include "VideoBackends/Software/Tev.h" @@ -745,12 +744,12 @@ void Tev::Draw() if (late_ztest && bpmem.zmode.testenable) { // TODO: Check against hw if these values get incremented even if depth testing is disabled - SWPixelEngine::pereg.IncZInputQuadCount(false); + EfbInterface::IncPerfCounterQuadCount(PQ_ZCOMP_INPUT); if (!EfbInterface::ZCompare(Position[0], Position[1], Position[2])) return; - SWPixelEngine::pereg.IncZOutputQuadCount(false); + EfbInterface::IncPerfCounterQuadCount(PQ_ZCOMP_OUTPUT); } #if ALLOW_TEV_DUMPS @@ -774,7 +773,7 @@ void Tev::Draw() #endif INCSTAT(swstats.thisFrame.tevPixelsOut); - SWPixelEngine::pereg.IncBlendInputQuadCount(); + EfbInterface::IncPerfCounterQuadCount(PQ_BLEND_INPUT); EfbInterface::BlendTev(Position[0], Position[1], output); } |
