From fef1462371b51fb5540817b76d30630868b2a961 Mon Sep 17 00:00:00 2001 From: Subv Date: Fri, 21 Aug 2015 10:35:25 -0500 Subject: SWRasterizer: Implemented stencil action 1 (GL_ZERO). Verified with hwtests. --- src/video_core/rasterizer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/video_core/rasterizer.cpp') diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp index c6557bf1a..25911e0a2 100644 --- a/src/video_core/rasterizer.cpp +++ b/src/video_core/rasterizer.cpp @@ -220,6 +220,9 @@ static u8 PerformStencilAction(Regs::StencilAction action, u8 old_stencil, u8 re case Regs::StencilAction::Keep: return old_stencil; + case Regs::StencilAction::Zero: + return 0; + case Regs::StencilAction::Replace: return ref; -- cgit v1.2.3