Lines Matching refs:Unit
32 _mesa_get_samplerobj(struct gl_context *ctx, GLuint unit)34 if (ctx->Texture.Unit[unit].Sampler)35 return ctx->Texture.Unit[unit].Sampler;36 else if (ctx->Texture.Unit[unit]._Current)37 return &ctx->Texture.Unit[unit]._Current->Sampler;83 _mesa_BindSampler(GLuint unit, GLuint sampler);