Lines Matching refs:Ref
126 * \param ref front and back reference value.
136 _mesa_StencilFuncSeparateATI( GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask )
156 ref = CLAMP( ref, 0, stencilMax );
163 ctx->Stencil.Ref[0] == ref &&
164 ctx->Stencil.Ref[1] == ref)
169 ctx->Stencil.Ref[0] = ctx->Stencil.Ref[1] = ref;
173 frontfunc, ref, mask);
175 backfunc, ref, mask);
184 * \param ref reference value.
194 _mesa_StencilFunc( GLenum func, GLint ref, GLuint mask )
209 ref = CLAMP( ref, 0, stencilMax );
214 ctx->Stencil.Ref[face] == ref)
218 ctx->Stencil.Ref[face] = ref;
225 ctx->Driver.StencilFuncSeparate(ctx, GL_BACK, func, ref, mask);
234 ctx->Stencil.Ref[0] == ref &&
235 ctx->Stencil.Ref[1] == ref)
239 ctx->Stencil.Ref[0] = ctx->Stencil.Ref[1] = ref;
245 func, ref, mask);
478 _mesa_StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
496 ref = CLAMP(ref, 0, stencilMax);
503 ctx->Stencil.Ref[0] = ref;
509 ctx->Stencil.Ref[1] = ref;
513 ctx->Driver.StencilFuncSeparate(ctx, face, func, ref, mask);
564 ctx->Stencil.Ref[0] != ctx->Stencil.Ref[face] ||
595 ctx->Stencil.Ref[0] = 0;
596 ctx->Stencil.Ref[1] = 0;
597 ctx->Stencil.Ref[2] = 0;