Lines Matching refs:maxIndex

475     GLint maxIndex;  in isValidVertexAttribIndex()  local
476 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in isValidVertexAttribIndex()
477 return indx < maxIndex; in isValidVertexAttribIndex()
760 GLint maxIndex; in s_glGetVertexAttribiv() local
761 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribiv()
762 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribiv()
773 GLint maxIndex; in s_glGetVertexAttribfv() local
774 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribfv()
775 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribfv()
786 GLint maxIndex; in s_glGetVertexAttribPointerv() local
787 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribPointerv()
788 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribPointerv()
1094 int minIndex = 0, maxIndex = 0; in s_glDrawElements() local
1111 &minIndex, &maxIndex); in s_glDrawElements()
1121 &maxIndex); in s_glDrawElements()
1127 ctx->sendVertexAttributes(0, maxIndex + 1, false); in s_glDrawElements()
1145 ctx->sendVertexAttributes(minIndex, maxIndex - minIndex + 1, true); in s_glDrawElements()
3075 GLint maxIndex; in s_glGetVertexAttribIiv() local
3076 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribIiv()
3077 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribIiv()
3087 GLint maxIndex; in s_glGetVertexAttribIuiv() local
3088 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribIuiv()
3089 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribIuiv()
3567 int minIndex = 0, maxIndex = 0; in s_glDrawElementsInstanced() local
3584 &minIndex, &maxIndex); in s_glDrawElementsInstanced()
3594 &maxIndex); in s_glDrawElementsInstanced()
3600 ctx->sendVertexAttributes(0, maxIndex + 1, false, primcount); in s_glDrawElementsInstanced()
3618 ctx->sendVertexAttributes(minIndex, maxIndex - minIndex + 1, true, primcount); in s_glDrawElementsInstanced()
3658 int minIndex = 0, maxIndex = 0; in s_glDrawRangeElements() local
3675 &minIndex, &maxIndex); in s_glDrawRangeElements()
3685 &maxIndex); in s_glDrawRangeElements()
3691 ctx->sendVertexAttributes(0, maxIndex + 1, false); in s_glDrawRangeElements()
3709 ctx->sendVertexAttributes(minIndex, maxIndex - minIndex + 1, true); in s_glDrawRangeElements()