Home | History | Annotate | Download | only in main

Lines Matching refs:Unit

245 _mesa_BindSampler(GLuint unit, GLuint sampler)
250 if (unit >= ctx->Const.MaxCombinedTextureImageUnits) {
251 _mesa_error(ctx, GL_INVALID_VALUE, "glBindSampler(unit %u)", unit);
270 if (ctx->Texture.Unit[unit].Sampler != sampObj) {
275 _mesa_reference_sampler_object(ctx, &ctx->Texture.Unit[unit].Sampler,