Lines Matching refs:zfail
300 stencil_op(struct gl_context *ctx, GLenum fail, GLenum zfail, GLenum zpass) in stencil_op() argument
306 if (ctx->Stencil.ZFailFunc[face] == zfail && in stencil_op()
312 ctx->Stencil.ZFailFunc[face] = zfail; in stencil_op()
318 if (ctx->Stencil.ZFailFunc[0] == zfail && in stencil_op()
319 ctx->Stencil.ZFailFunc[1] == zfail && in stencil_op()
327 ctx->Stencil.ZFailFunc[0] = ctx->Stencil.ZFailFunc[1] = zfail; in stencil_op()
335 _mesa_StencilOp_no_error(GLenum fail, GLenum zfail, GLenum zpass) in _mesa_StencilOp_no_error() argument
338 stencil_op(ctx, fail, zfail, zpass); in _mesa_StencilOp_no_error()
343 _mesa_StencilOp(GLenum fail, GLenum zfail, GLenum zpass) in _mesa_StencilOp() argument
355 if (!validate_stencil_op(ctx, zfail)) { in _mesa_StencilOp()
365 stencil_op(ctx, fail, zfail, zpass); in _mesa_StencilOp()
394 GLenum zfail, GLenum zpass) in stencil_op_separate() argument
398 if (ctx->Stencil.ZFailFunc[0] != zfail || in stencil_op_separate()
403 ctx->Stencil.ZFailFunc[0] = zfail; in stencil_op_separate()
411 if (ctx->Stencil.ZFailFunc[1] != zfail || in stencil_op_separate()
416 ctx->Stencil.ZFailFunc[1] = zfail; in stencil_op_separate()
425 _mesa_StencilOpSeparate_no_error(GLenum face, GLenum sfail, GLenum zfail, in _mesa_StencilOpSeparate_no_error() argument
429 stencil_op_separate(ctx, face, sfail, zfail, zpass); in _mesa_StencilOpSeparate_no_error()
434 _mesa_StencilOpSeparate(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass) in _mesa_StencilOpSeparate() argument
446 if (!validate_stencil_op(ctx, zfail)) { in _mesa_StencilOpSeparate()
461 stencil_op_separate(ctx, face, sfail, zfail, zpass); in _mesa_StencilOpSeparate()