Searched defs:offsetLoc (Results 1 - 2 of 2) sorted by relevance
/external/deqp/modules/gles3/functional/ |
H A D | es3fInstancedRenderingTests.cpp | 524 int offsetLoc = glGetAttribLocation(program, "a_instanceOffset"); local 525 glEnableVertexAttribArray(offsetLoc); 526 glVertexAttribDivisor(offsetLoc, 1); 527 glVertexAttribPointer(offsetLoc, OFFSET_COMPONENTS, GL_FLOAT, GL_FALSE, 0, &m_instanceOffsets[0]);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fVertexAttributeBindingTests.cpp | 619 const int offsetLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_offset"); local 639 gl.glEnableVertexAttribArray(offsetLoc); 643 gl.glVertexAttribFormat(offsetLoc, 4, GL_FLOAT, GL_FALSE, sizeof(tcu::Vec4)); 647 gl.glVertexAttribBinding(offsetLoc, colorOffsetBinding); 893 const int offsetLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_offset"); local 921 gl.glVertexAttribPointer(offsetLoc, 4, GL_FLOAT, GL_FALSE, glw::GLsizei(2 * sizeof(tcu::Vec4)), (deUint8*)DE_NULL + sizeof(tcu::Vec4)); 927 gl.glEnableVertexAttribArray(offsetLoc); 944 gl.glVertexAttribBinding(offsetLoc, colorLoc); 947 gl.glVertexAttribFormat(offsetLoc, 4, GL_FLOAT, GL_FALSE, sizeof(tcu::Vec4)); 954 gl.glEnableVertexAttribArray(offsetLoc); [all...] |
Completed in 88 milliseconds