Lines Matching refs:stencil
126 if (!curr->stencil[0].enabled)
128 /* Stencil disabled
133 else if (curr->stencil[0].enabled && !curr->stencil[1].enabled)
135 /* Regular stencil
140 EMIT_RS( svga, curr->stencil[0].func, STENCILFUNC, fail );
141 EMIT_RS( svga, curr->stencil[0].fail, STENCILFAIL, fail );
142 EMIT_RS( svga, curr->stencil[0].zfail, STENCILZFAIL, fail );
143 EMIT_RS( svga, curr->stencil[0].pass, STENCILPASS, fail );
165 /* Twoside stencil
170 EMIT_RS( svga, curr->stencil[cw].func, STENCILFUNC, fail );
171 EMIT_RS( svga, curr->stencil[cw].fail, STENCILFAIL, fail );
172 EMIT_RS( svga, curr->stencil[cw].zfail, STENCILZFAIL, fail );
173 EMIT_RS( svga, curr->stencil[cw].pass, STENCILPASS, fail );
175 EMIT_RS( svga, curr->stencil[ccw].func, CCWSTENCILFUNC, fail );
176 EMIT_RS( svga, curr->stencil[ccw].fail, CCWSTENCILFAIL, fail );
177 EMIT_RS( svga, curr->stencil[ccw].zfail, CCWSTENCILZFAIL, fail );
178 EMIT_RS( svga, curr->stencil[ccw].pass, CCWSTENCILPASS, fail );