Lines Matching refs:Unit
51 * unit, or maybe it's a computed value. So we need to also track
1505 GLuint unit, *p;
1533 unit = ctx->Texture.CurrentUnit;
1534 v->value_float_4[0] = ctx->Current.RasterTexCoords[unit][0];
1535 v->value_float_4[1] = ctx->Current.RasterTexCoords[unit][1];
1536 v->value_float_4[2] = ctx->Current.RasterTexCoords[unit][2];
1537 v->value_float_4[3] = ctx->Current.RasterTexCoords[unit][3];
1541 unit = ctx->Texture.CurrentUnit;
1542 v->value_float_4[0] = ctx->Current.Attrib[VERT_ATTRIB_TEX0 + unit][0];
1543 v->value_float_4[1] = ctx->Current.Attrib[VERT_ATTRIB_TEX0 + unit][1];
1544 v->value_float_4[2] = ctx->Current.Attrib[VERT_ATTRIB_TEX0 + unit][2];
1545 v->value_float_4[3] = ctx->Current.Attrib[VERT_ATTRIB_TEX0 + unit][3];
1571 unit = ctx->Texture.CurrentUnit;
1572 v->value_int = ctx->TextureMatrixStack[unit].Depth + 1;
1575 unit = ctx->Texture.CurrentUnit;
1576 v->value_matrix = ctx->TextureMatrixStack[unit].Top;
1701 unit = ctx->Texture.CurrentUnit;
1703 ctx->Texture.Unit[unit].CurrentTex[d->offset]->Name;
1818 unit = ctx->Texture.CurrentUnit;
1820 ctx->Texture.Unit[unit].CurrentTex[TEXTURE_BUFFER_INDEX]->Name;
1825 ctx->Texture.Unit[ctx->Texture.CurrentUnit]
1831 v->value_int = ctx->Texture.Unit[ctx->Texture.CurrentUnit]
1839 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler;
2000 struct gl_texture_unit *unit;
2039 unit = &ctx->Texture.Unit[ctx->Texture.CurrentUnit];
2040 *p = ((char *) unit + d->offset);