Home
last modified time | relevance | path

Searched refs:instanceAttrib (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DInstancingTest.cpp97 const int instanceAttrib, // which attrib is instanced: 0 or 1 in runTest() argument
126 ASSERT_TRUE(instanceAttrib == 0 || instanceAttrib == 1); in runTest()
127 const int positionAttrib = 1 - instanceAttrib; in runTest()
129 glUseProgram(mProgram[instanceAttrib]); in runTest()
132 glVertexAttribPointer(instanceAttrib, 1, GL_FLOAT, GL_FALSE, 0, in runTest()
134 glEnableVertexAttribArray(instanceAttrib); in runTest()
136 glVertexAttribDivisorANGLE(instanceAttrib, divisor); in runTest()
138 glVertexAttribDivisorEXT(instanceAttrib, divisor); in runTest()