Home | History | Annotate | Download | only in main

Lines Matching refs:Unit

39 _mesa_get_samplerobj(struct gl_context *ctx, GLuint unit)
41 if (ctx->Texture.Unit[unit].Sampler)
42 return ctx->Texture.Unit[unit].Sampler;
43 else if (ctx->Texture.Unit[unit]._Current)
44 return &ctx->Texture.Unit[unit]._Current->Sampler;
95 _mesa_bind_sampler(struct gl_context *ctx, GLuint unit,
120 _mesa_BindSampler_no_error(GLuint unit, GLuint sampler);
123 _mesa_BindSampler(GLuint unit, GLuint sampler);