Lines Matching refs:indx
302 void DbgContext::glVertexAttribPointer(GLuint indx, GLint size, GLenum type,
306 assert(indx < MAX_VERTEX_ATTRIBS);
307 vertexAttribs[indx].size = size;
308 vertexAttribs[indx].type = type;
309 vertexAttribs[indx].normalized = normalized;
312 vertexAttribs[indx].elemSize = sizeof(GLfloat) * size;
316 vertexAttribs[indx].elemSize = sizeof(GLint) * size;
320 vertexAttribs[indx].elemSize = sizeof(GLshort) * size;
324 vertexAttribs[indx].elemSize = sizeof(GLbyte) * size;
330 stride = vertexAttribs[indx].elemSize;
331 vertexAttribs[indx].stride = stride;
332 vertexAttribs[indx].ptr = ptr;
333 hooks->gl.glGetVertexAttribiv(indx, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING,
334 (GLint *)&vertexAttribs[indx].buffer);