Lines Matching refs:attr
40 check_size(const GLfloat *attr)
42 if (attr[3] != 1.0F)
44 if (attr[2] != 0.0F)
46 if (attr[1] != 0.0F)
81 const unsigned attr = VERT_ATTRIB_FF(i);
82 struct gl_array_attributes *attrib = &vbo->current[attr];
84 init_array(ctx, attrib, check_size(ctx->Current.Attrib[attr]),
85 ctx->Current.Attrib[attr]);
97 const unsigned attr = VBO_ATTRIB_GENERIC0 + i;
98 struct gl_array_attributes *attrib = &vbo->current[attr];
100 init_array(ctx, attrib, 1, ctx->Current.Attrib[attr]);
115 const unsigned attr = VBO_ATTRIB_MAT_FRONT_AMBIENT + i;
116 struct gl_array_attributes *attrib = &vbo->current[attr];
219 _vbo_current_attrib(const struct gl_context *ctx, gl_vert_attrib attr)
223 return &vbo->current[_vbo_attribute_alias_map[vmp][attr]];