Lines Matching refs:maxIndex

626     GLint maxIndex;  in isValidVertexAttribIndex()  local
627 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in isValidVertexAttribIndex()
628 return indx < maxIndex; in isValidVertexAttribIndex()
1050 GLint maxIndex; in s_glGetVertexAttribiv() local
1051 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribiv()
1052 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribiv()
1063 GLint maxIndex; in s_glGetVertexAttribfv() local
1064 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribfv()
1065 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribfv()
1076 GLint maxIndex; in s_glGetVertexAttribPointerv() local
1077 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribPointerv()
1078 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribPointerv()
1367 int minIndex = 0, maxIndex = 0; in s_glDrawElements() local
1384 &minIndex, &maxIndex); in s_glDrawElements()
1394 &maxIndex); in s_glDrawElements()
1418 ctx->sendVertexAttributes(minIndex, maxIndex - minIndex + 1, true); in s_glDrawElements()
1479 int minIndex = 0, maxIndex = 0; in s_glDrawElementsNullAEMU() local
1499 &minIndex, &maxIndex); in s_glDrawElementsNullAEMU()
1510 &maxIndex); in s_glDrawElementsNullAEMU()
1534 ctx->sendVertexAttributes(minIndex, maxIndex - minIndex + 1, true); in s_glDrawElementsNullAEMU()
3674 GLint maxIndex; in s_glGetVertexAttribIiv() local
3675 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribIiv()
3676 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribIiv()
3686 GLint maxIndex; in s_glGetVertexAttribIuiv() local
3687 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribIuiv()
3688 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribIuiv()
4175 int minIndex = 0, maxIndex = 0; in s_glDrawElementsInstanced() local
4192 &minIndex, &maxIndex); in s_glDrawElementsInstanced()
4202 &maxIndex); in s_glDrawElementsInstanced()
4210 ctx->sendVertexAttributes(0, maxIndex + 1, false, primcount); in s_glDrawElementsInstanced()
4227 ctx->sendVertexAttributes(minIndex, maxIndex - minIndex + 1, true, primcount); in s_glDrawElementsInstanced()
4266 int minIndex = 0, maxIndex = 0; in s_glDrawRangeElements() local
4289 &minIndex, &maxIndex); in s_glDrawRangeElements()
4299 &maxIndex); in s_glDrawRangeElements()
4307 ctx->sendVertexAttributes(0, maxIndex + 1, false); in s_glDrawRangeElements()
4324 ctx->sendVertexAttributes(minIndex, maxIndex - minIndex + 1, true); in s_glDrawRangeElements()