Lines Matching defs:idx
471 const int idx = (int) state[1];
472 COPY_4V(value, ctx->FragmentProgram.Parameters[idx]);
476 const unsigned idx = state[1];
478 memcpy(value, ctx->FragmentProgram.Parameters[idx], bytes);
492 const int idx = (int) state[1];
493 COPY_4V(value, params[idx]);
497 const unsigned idx = state[1];
508 memcpy(value, params[idx], bytes);
512 const int idx = (int) state[1];
513 COPY_4V(value, ctx->VertexProgram.Parameters[idx]);
517 const unsigned idx = state[1];
519 memcpy(value, ctx->VertexProgram.Parameters[idx], bytes);
533 const int idx = (int) state[1];
534 COPY_4V(value, params[idx]);
538 const unsigned idx = state[1];
549 memcpy(value, params[idx], bytes);
559 const GLuint idx = (GLuint) state[1];
560 COPY_4V(value, ctx->Current.Attrib[idx]);
566 const GLuint idx = (GLuint) state[1];
568 (idx == VERT_ATTRIB_COLOR0 ||
569 idx == VERT_ATTRIB_COLOR1)) {
570 value[0] = SATURATE(ctx->Current.Attrib[idx][0]);
571 value[1] = SATURATE(ctx->Current.Attrib[idx][1]);
572 value[2] = SATURATE(ctx->Current.Attrib[idx][2]);
573 value[3] = SATURATE(ctx->Current.Attrib[idx][3]);
576 COPY_4V(value, ctx->Current.Attrib[idx]);