Lines Matching defs:index
632 DECLEXPORT(void) STATE_APIENTRY crStateBindAttribLocation(GLuint program, GLuint index, const char * name)
644 if (index>=CR_MAX_VERTEX_ATTRIBS)
646 crWarning("crStateBindAttribLocation: Index too big %d", index);
654 pProgram->currentState.pAttribs[i].index = index;
670 pAttribs[pProgram->currentState.cAttribs].index = index;
958 pProgram->pAttribs[i].index = ((GLint*)pCurrent)[0];
973 crDebug("crStateGLSLProgramCacheAttribs: attribs[%i]=%d, %s", i, pProgram->pAttribs[i].index, pProgram->pAttribs[i].name);
1303 result = pProgram->pAttribs[i].index;
1396 diff_api.BindAttribLocation(pProgram->hwid, pProgram->activeState.pAttribs[i].index, pProgram->activeState.pAttribs[i].name);