Lines Matching defs:first
369 bind_samplers(struct gl_context *ctx, GLuint first, GLsizei count,
385 * a first pass to scan the entire list of bound objects for
399 const GLuint unit = first + i;
439 /* Unbind all samplers in the range <first> through <first>+<count>-1 */
441 const GLuint unit = first + i;
456 _mesa_BindSamplers_no_error(GLuint first, GLsizei count, const GLuint *samplers)
459 bind_samplers(ctx, first, count, samplers, true);
464 _mesa_BindSamplers(GLuint first, GLsizei count, const GLuint *samplers)
470 * "An INVALID_OPERATION error is generated if <first> + <count> is
474 if (first + count > ctx->Const.MaxCombinedTextureImageUnits) {
476 "glBindSamplers(first=%u + count=%d > the value of "
478 first, count, ctx->Const.MaxCombinedTextureImageUnits);
482 bind_samplers(ctx, first, count, samplers, false);