Lines Matching refs:VERT_ATTRIB_GENERIC
461 update_array(ctx, "glVertexAttribPointerNV", VERT_ATTRIB_GENERIC(index), in _mesa_VertexAttribPointerNV()
494 update_array(ctx, "glVertexAttribPointer", VERT_ATTRIB_GENERIC(index), in _mesa_VertexAttribPointerARB()
524 update_array(ctx, "glVertexAttribIPointer", VERT_ATTRIB_GENERIC(index), in _mesa_VertexAttribIPointer()
546 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(arrayObj->VertexAttrib)); in _mesa_EnableVertexAttribArrayARB()
548 if (!arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled) { in _mesa_EnableVertexAttribArrayARB()
551 arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled = GL_TRUE; in _mesa_EnableVertexAttribArrayARB()
573 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(arrayObj->VertexAttrib)); in _mesa_DisableVertexAttribArrayARB()
575 if (arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled) { in _mesa_DisableVertexAttribArrayARB()
578 arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled = GL_FALSE; in _mesa_DisableVertexAttribArrayARB()
601 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib)); in get_vertex_array_attrib()
603 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; in get_vertex_array_attrib()
662 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib)); in get_current_attrib()
665 return ctx->Current.Attrib[VERT_ATTRIB_GENERIC(index)]; in get_current_attrib()
790 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib)); in _mesa_GetVertexAttribPointervARB()
792 *pointer = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Ptr; in _mesa_GetVertexAttribPointervARB()
1181 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib)); in _mesa_VertexAttribDivisor()
1183 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; in _mesa_VertexAttribDivisor()
1187 ctx->Array.ArrayObj->NewArrays |= VERT_BIT(VERT_ATTRIB_GENERIC(index)); in _mesa_VertexAttribDivisor()
1258 if (arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(i)].Enabled) in _mesa_print_arrays()
1259 print_array("Attrib", i, &arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(i)]); in _mesa_print_arrays()