Lines Matching full:zfail
309 * \param zfail action to take when stencil test passes, but depth test fails.
320 _mesa_StencilOp(GLenum fail, GLenum zfail, GLenum zpass)
334 if (!validate_stencil_op(ctx, zfail)) {
335 _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOp(zfail)");
345 if (ctx->Stencil.ZFailFunc[face] == zfail &&
350 ctx->Stencil.ZFailFunc[face] = zfail;
358 ctx->Driver.StencilOpSeparate(ctx, GL_BACK, fail, zfail, zpass);
363 if (ctx->Stencil.ZFailFunc[0] == zfail &&
364 ctx->Stencil.ZFailFunc[1] == zfail &&
371 ctx->Stencil.ZFailFunc[0] = ctx->Stencil.ZFailFunc[1] = zfail;
378 fail, zfail, zpass);
420 _mesa_StencilOpSeparate(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass)
433 if (!validate_stencil_op(ctx, zfail)) {
434 _mesa_error(ctx, GL_INVALID_ENUM, "glStencilOpSeparate(zfail)");
448 if (ctx->Stencil.ZFailFunc[0] != zfail ||
452 ctx->Stencil.ZFailFunc[0] = zfail;
460 if (ctx->Stencil.ZFailFunc[1] != zfail ||
464 ctx->Stencil.ZFailFunc[1] = zfail;
471 ctx->Driver.StencilOpSeparate(ctx, face, sfail, zfail, zpass);