diff options
| author | NeoBrainX <NeoBrainX@gmail.com> | 2013-07-22 14:38:09 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2013-08-09 22:20:35 +0200 |
| commit | eed36cbf78d45bcdc13b4c8cc980f6187c8357cf (patch) | |
| tree | 4e743405c9cbb4e3e2de820fc825b35357bcea66 /Source/Plugins/Plugin_VideoSoftware | |
| parent | 805009abcaa61e9cd6e7c21fc01f9ac77200e937 (diff) | |
D3D11: Implement zcomploc for hardware supporting D3D 11.0.
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware')
| -rw-r--r-- | Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp index f1fc5f5ac9..3c45ee7d25 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp @@ -135,7 +135,7 @@ inline void Draw(s32 x, s32 y, s32 xi, s32 yi) if (z < 0 || z > 0x00ffffff) return; - if (bpmem.zcontrol.early_ztest && bpmem.zmode.testenable && g_SWVideoConfig.bZComploc) + if (bpmem.UseEarlyDepthTest() && g_SWVideoConfig.bZComploc) { // TODO: Test if perf regs are incremented even if test is disabled SWPixelEngine::pereg.IncZInputQuadCount(true); |
