Home
last modified time | relevance | path

Searched refs:tex_unit (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_shader.c93 unsigned tex_unit = prog->SamplerUnits[unit]; in update_gl_clamp() local
95 (st->ctx->Texture.Unit[tex_unit]._Current->Target != GL_TEXTURE_BUFFER || in update_gl_clamp()
101 texobj = ctx->Texture.Unit[tex_unit]._Current; in update_gl_clamp()
104 msamp = _mesa_get_samplerobj(ctx, tex_unit); in update_gl_clamp()
Dst_atom_sampler.c199 unsigned tex_unit = prog->SamplerUnits[unit]; in update_shader_samplers() local
205 (ctx->Texture.Unit[tex_unit]._Current->Target != GL_TEXTURE_BUFFER || in update_shader_samplers()
207 st_convert_sampler_from_unit(st, sampler, tex_unit); in update_shader_samplers()
/third_party/mesa3d/src/glx/
Dsingle2.c159 const GLint tex_unit = __glXGetActiveTextureUnit(state); in get_client_data() local
226 __glXGetArrayEnable(state, GL_TEXTURE_COORD_ARRAY, tex_unit, data); in get_client_data()
230 __glXGetArraySize(state, GL_TEXTURE_COORD_ARRAY, tex_unit, data); in get_client_data()
234 __glXGetArrayType(state, GL_TEXTURE_COORD_ARRAY, tex_unit, data); in get_client_data()
238 __glXGetArrayStride(state, GL_TEXTURE_COORD_ARRAY, tex_unit, data); in get_client_data()
303 *data = (GLintptr) (tex_unit + GL_TEXTURE0); in get_client_data()