Lines Matching defs:index

17 void PACK_APIENTRY crPackProgramParameters4dvNV (GLenum target, GLuint index, GLuint num, const GLdouble * params)
21 int packet_length = sizeof(int) + sizeof(target) + sizeof(index) + sizeof(num) + num * 4 * sizeof(GLdouble);
26 WRITE_DATA(sizeof(int) + 4, GLuint, index);
35 void PACK_APIENTRY crPackProgramParameters4fvNV (GLenum target, GLuint index, GLuint num, const GLfloat * params)
39 int packet_length = sizeof(int) + sizeof(target) + sizeof(index) + sizeof(num) + num * 4 * sizeof(GLfloat);
44 WRITE_DATA(sizeof(int) + 4, GLuint, index);
53 void PACK_APIENTRY crPackVertexAttribs1dvNV( GLuint index, GLsizei n, const GLdouble *v )
56 /* reverse order so we hit index 0 last (provoking glVertex) */
58 crPackVertexAttrib1dvARB(index + i, v + i);
62 void PACK_APIENTRY crPackVertexAttribs1fvNV( GLuint index, GLsizei n, const GLfloat *v )
65 /* reverse order so we hit index 0 last (provoking glVertex) */
67 crPackVertexAttrib1fvARB(index + i, v + i);
71 void PACK_APIENTRY crPackVertexAttribs1svNV( GLuint index, GLsizei n, const GLshort *v )
74 /* reverse order so we hit index 0 last (provoking glVertex) */
76 crPackVertexAttrib1svARB(index + i, v + i);
80 void PACK_APIENTRY crPackVertexAttribs2dvNV( GLuint index, GLsizei n, const GLdouble *v )
83 /* reverse order so we hit index 0 last (provoking glVertex) */
85 crPackVertexAttrib2dvARB(index + i, v + 2 * i);
88 void PACK_APIENTRY crPackVertexAttribs2fvNV( GLuint index, GLsizei n, const GLfloat *v )
91 /* reverse order so we hit index 0 last (provoking glVertex) */
93 crPackVertexAttrib2fvARB(index + i, v + 2 * i);
96 void PACK_APIENTRY crPackVertexAttribs2svNV( GLuint index, GLsizei n, const GLshort *v )
99 /* reverse order so we hit index 0 last (provoking glVertex) */
101 crPackVertexAttrib2svARB(index + i, v + 2 * i);
104 void PACK_APIENTRY crPackVertexAttribs3dvNV( GLuint index, GLsizei n, const GLdouble *v )
107 /* reverse order so we hit index 0 last (provoking glVertex) */
109 crPackVertexAttrib3dvARB(index + i, v + 3 * i);
112 void PACK_APIENTRY crPackVertexAttribs3fvNV( GLuint index, GLsizei n, const GLfloat *v )
115 /* reverse order so we hit index 0 last (provoking glVertex) */
117 crPackVertexAttrib3fvARB(index + i, v + 3 * i);
120 void PACK_APIENTRY crPackVertexAttribs3svNV( GLuint index, GLsizei n, const GLshort *v )
123 /* reverse order so we hit index 0 last (provoking glVertex) */
125 crPackVertexAttrib3svARB(index + i, v + 3 * i);
128 void PACK_APIENTRY crPackVertexAttribs4dvNV( GLuint index, GLsizei n, const GLdouble *v )
131 /* reverse order so we hit index 0 last (provoking glVertex) */
133 crPackVertexAttrib4dvARB(index + i, v + 4 * i);
136 void PACK_APIENTRY crPackVertexAttribs4fvNV( GLuint index, GLsizei n, const GLfloat *v )
139 /* reverse order so we hit index 0 last (provoking glVertex) */
141 crPackVertexAttrib4fvARB(index + i, v + 4 * i);
144 void PACK_APIENTRY crPackVertexAttribs4svNV( GLuint index, GLsizei n, const GLshort *v )
147 /* reverse order so we hit index 0 last (provoking glVertex) */
149 crPackVertexAttrib4svARB(index + i, v + 4 * i);
152 void PACK_APIENTRY crPackVertexAttribs4ubvNV( GLuint index, GLsizei n, const GLubyte *v )
155 /* reverse order so we hit index 0 last (provoking glVertex) */
157 crPackVertexAttrib4ubvARB(index + i, v + 4 * i);
366 void PACK_APIENTRY crPackVertexAttrib4NbvARB( GLuint index, const GLbyte *v )
371 pc->current.c.vertexAttrib.b4[index] = data_ptr + 4;
372 pc->current.attribsUsedMask |= (1 << index);
373 WRITE_DATA( 0, GLuint, index );
382 void PACK_APIENTRY crPackVertexAttrib4NivARB( GLuint index, const GLint *v )
387 pc->current.c.vertexAttrib.i4[index] = data_ptr + 4;
388 pc->current.attribsUsedMask |= (1 << index);
389 WRITE_DATA( 0, GLuint, index );
398 void PACK_APIENTRY crPackVertexAttrib4NsvARB( GLuint index, const GLshort *v )
403 pc->current.c.vertexAttrib.s4[index] = data_ptr + 4;
404 pc->current.attribsUsedMask |= (1 << index);
405 WRITE_DATA( 0, GLuint, index );
414 void PACK_APIENTRY crPackVertexAttrib4NubvARB(GLuint index, const GLubyte * v)
419 pc->current.c.vertexAttrib.ub4[index] = data_ptr + 4;
420 pc->current.attribsUsedMask |= (1 << index);
421 WRITE_DATA( 0, GLuint, index );
430 void PACK_APIENTRY crPackVertexAttrib4NuivARB(GLuint index, const GLuint * v)
435 pc->current.c.vertexAttrib.ui4[index] = data_ptr + 4;
436 pc->current.attribsUsedMask |= (1 << index);
437 WRITE_DATA( 0, GLuint, index );
446 void PACK_APIENTRY crPackVertexAttrib4NusvARB(GLuint index, const GLushort * v)
451 pc->current.c.vertexAttrib.s4[index] = data_ptr + 4;
452 pc->current.attribsUsedMask |= (1 << index);
453 WRITE_DATA( 0, GLuint, index );
462 void PACK_APIENTRY crPackVertexAttrib4bvARB(GLuint index, const GLbyte * v)
467 pc->current.c.vertexAttrib.b4[index] = data_ptr + 4;
468 pc->current.attribsUsedMask |= (1 << index);
469 WRITE_DATA( 0, GLuint, index );
478 void PACK_APIENTRY crPackVertexAttrib4ivARB(GLuint index, const GLint * v)
483 pc->current.c.vertexAttrib.i4[index] = data_ptr + 4;
484 pc->current.attribsUsedMask |= (1 << index);
485 WRITE_DATA( 0, GLuint, index );
494 void PACK_APIENTRY crPackVertexAttrib4uivARB(GLuint index, const GLuint * v)
499 pc->current.c.vertexAttrib.ui4[index] = data_ptr + 4;
500 pc->current.attribsUsedMask |= (1 << index);
501 WRITE_DATA( 0, GLuint, index );
510 void PACK_APIENTRY crPackVertexAttrib4usvARB(GLuint index, const GLushort * v)
515 pc->current.c.vertexAttrib.s4[index] = data_ptr + 4;
516 pc->current.attribsUsedMask |= (1 << index);
517 WRITE_DATA( 0, GLuint, index );
527 void PACK_APIENTRY crPackVertexAttrib4ubvARB(GLuint index, const GLubyte * v)
532 pc->current.c.vertexAttrib.ub4[index] = data_ptr + 4;
533 pc->current.attribsUsedMask |= (1 << index);
534 WRITE_DATA( 0, GLuint, index );