SWRasterizer: Implemented stencil action 1 (GL_ZERO).

Verified with hwtests.
This commit is contained in:
Subv 2015-08-21 10:35:25 -05:00
parent cbf5ed0c78
commit 9a3d5a11f3
2 changed files with 4 additions and 1 deletions

View file

@ -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;