summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware
diff options
context:
space:
mode:
authorNeoBrainX <NeoBrainX@gmail.com>2013-07-22 14:38:09 +0200
committerdegasus <wickmarkus@web.de>2013-08-09 22:20:35 +0200
commiteed36cbf78d45bcdc13b4c8cc980f6187c8357cf (patch)
tree4e743405c9cbb4e3e2de820fc825b35357bcea66 /Source/Plugins/Plugin_VideoSoftware
parent805009abcaa61e9cd6e7c21fc01f9ac77200e937 (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.cpp2
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);