diff options
| author | Subv <subv2112@gmail.com> | 2015-08-21 10:35:25 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2015-08-21 10:35:25 -0500 |
| commit | 9a3d5a11f379bb5a38ff72e925dd91319a9e03b7 (patch) | |
| tree | 7068df3c389cbfd261cb0d78ee40ce228d8924b7 /src/video_core/rasterizer.cpp | |
| parent | cbf5ed0c7868caa14bace66d0b14f3c7ae6b7996 (diff) | |
SWRasterizer: Implemented stencil action 1 (GL_ZERO).
Verified with hwtests.
Diffstat (limited to 'src/video_core/rasterizer.cpp')
| -rw-r--r-- | src/video_core/rasterizer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp index c6557bf1a3..25911e0a23 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; |
