Home
last modified time | relevance | path

Searched refs:indexTypeGL (Results 1 - 1 of 1) sorted by relevance

/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fPrimitiveRestartTests.cpp540 GLenum indexTypeGL; in draw() local
544 case INDEX_UNSIGNED_BYTE: indexTypeGL = GL_UNSIGNED_BYTE; break; in draw()
545 case INDEX_UNSIGNED_SHORT: indexTypeGL = GL_UNSIGNED_SHORT; break; in draw()
546 case INDEX_UNSIGNED_INT: indexTypeGL = GL_UNSIGNED_INT; break; in draw()
549 indexTypeGL = 0; in draw()
560 glDrawElements(primTypeGL, (GLsizei)count, indexTypeGL, (GLvoid*)getIndexPtr(startNdx)); in draw()
562 glDrawElementsInstanced(primTypeGL, (GLsizei)count, indexTypeGL, (GLvoid*)getIndexPtr(startNdx), 1); in draw()
579 glDrawRangeElements(primTypeGL, 0, (GLuint)max, (GLsizei)count, indexTypeGL, (GLvoid*)getIndexPtr(startNdx)); in draw()

Completed in 2 milliseconds