From eed36cbf78d45bcdc13b4c8cc980f6187c8357cf Mon Sep 17 00:00:00 2001 From: NeoBrainX Date: Mon, 22 Jul 2013 14:38:09 +0200 Subject: D3D11: Implement zcomploc for hardware supporting D3D 11.0. --- Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp') 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); -- cgit v1.2.3