Home
last modified time | relevance | path

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

/external/angle/src/tests/gl_tests/
DRobustBufferAccessBehaviorTest.cpp291 GLint attribLoc = glGetAttribLocation(program, essl1_shaders::PositionAttrib()); in TEST_P() local
292 ASSERT_NE(-1, attribLoc); in TEST_P()
294 glVertexAttribPointer(attribLoc, 2, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
295 glEnableVertexAttribArray(attribLoc); in TEST_P()
DStateChangeTest.cpp321 GLint attribLoc = glGetAttribLocation(program, "testAttrib"); in TEST_P() local
323 ASSERT_NE(-1, attribLoc); in TEST_P()
331 glEnableVertexAttribArray(attribLoc); in TEST_P()
332 glVertexAttribPointer(attribLoc, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, nullptr); in TEST_P()
335 glVertexAttrib4f(attribLoc, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
347 glDisableVertexAttribArray(attribLoc); in TEST_P()
376 GLint attribLoc = glGetAttribLocation(program, "testAttrib"); in TEST_P() local
378 ASSERT_NE(-1, attribLoc); in TEST_P()
382 glVertexAttrib4f(attribLoc + 1, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
383 glVertexAttrib4f(attribLoc + 2, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P()
[all …]
DVertexAttributeTest.cpp2830 GLint attribLoc = 3; in TEST_P() local
2831 glBindAttribLocation(program, attribLoc, "actualValue"); in TEST_P()
2842 glVertexAttribPointer(attribLoc, 1, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
2853 glVertexAttrib1f(attribLoc, testValue); in TEST_P()
2883 GLint attribLoc = glGetAttribLocation(program, "actualValue"); in TEST_P() local
2884 ASSERT_NE(-1, attribLoc); in TEST_P()
2889 glVertexAttribPointer(attribLoc, 1, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
2901 glVertexAttrib1f(attribLoc, testValue); in TEST_P()
DMemoryBarrierTest.cpp744 GLint attribLoc = glGetAttribLocation(*programOut, "attribIn"); in createVertexVerifyProgram() local
745 ASSERT_NE(-1, attribLoc); in createVertexVerifyProgram()
748 glVertexAttribPointer(attribLoc, 1, GL_FLOAT, GL_FALSE, 0, nullptr); in createVertexVerifyProgram()
749 glEnableVertexAttribArray(attribLoc); in createVertexVerifyProgram()
840 GLint attribLoc = glGetAttribLocation(readProgram, "attribIn"); in vertexAttribArrayBitVertexReadThenBufferWrite() local
841 glDisableVertexAttribArray(attribLoc); in vertexAttribArrayBitVertexReadThenBufferWrite()
DSimpleOperationTest.cpp258 const GLint attribLoc = glGetAttribLocation(program, "a_input"); in TEST_P() local
259 EXPECT_NE(-1, attribLoc); in TEST_P()
/external/deqp/modules/glshared/
DglsFragOpInteractionCase.cpp316 …const int attribLoc = bindingPtr.binding.type == glu::BindingPoint::BPTYPE_NAME ? ctx.getAttr… in setupAttributes() local
320 if (attribLoc >= 0) in setupAttributes()
322 ctx.enableVertexAttribArray(attribLoc); in setupAttributes()
323 …ctx.vertexAttribPointer(attribLoc, bindingPtr.pointer.numComponents, GL_FLOAT, GL_FALSE, bindingPt… in setupAttributes()
DglsShaderLibraryCase.cpp1228 int attribLoc = gl.getAttribLocation(vertexProgramID, attribName.c_str()); in execute() local
1229 if (attribLoc == -1) in execute()
1242 …vertexArrays.push_back(va::Float(attribLoc + i, numRows, numVerticesPerDraw, scalarSize*(int)sizeo… in execute()
1247 vertexArrays.push_back(va::Float(attribLoc, scalarSize, numVerticesPerDraw, 0, &scalars[0])); in execute()
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp642 const GLint attribLoc = gl.getAttribLocation(m_program->getProgram(), "a_attr"); in iterate() local
670 gl.vertexAttribPointer(attribLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate()
673 gl.enableVertexAttribArray(attribLoc); in iterate()
676 gl.disableVertexAttribArray(attribLoc); in iterate()
684 gl.vertexAttribPointer(attribLoc, 4, GL_FLOAT, GL_FALSE, 0, &gridAttributes[0]); in iterate()
687 gl.enableVertexAttribArray(attribLoc); in iterate()
690 gl.disableVertexAttribArray(attribLoc); in iterate()
/external/deqp/external/openglcts/modules/common/
DglcShaderLibraryCase.cpp418 int attribLoc = gl.getAttribLocation(programID, attribName.c_str()); in execute() local
419 if (attribLoc == -1) in execute()
433 vertexArrays.push_back(va::Float(attribLoc + i, numRows, numVerticesPerDraw, in execute()
441 vertexArrays.push_back(va::Float(attribLoc, scalarSize, numVerticesPerDraw, 0, &scalars[0])); in execute()
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp654 const GLint attribLoc = gl.getAttribLocation(m_program->getProgram(), "a_attr"); in iterate() local
682 gl.vertexAttribPointer(attribLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate()
685 gl.enableVertexAttribArray(attribLoc); in iterate()
688 gl.disableVertexAttribArray(attribLoc); in iterate()
696 gl.vertexAttribPointer(attribLoc, 4, GL_FLOAT, GL_FALSE, 0, &gridAttributes[0]); in iterate()
699 gl.enableVertexAttribArray(attribLoc); in iterate()
702 gl.disableVertexAttribArray(attribLoc); in iterate()
/external/llvm-project/mlir/lib/Parser/
DAttributeParser.cpp821 auto attribLoc = getToken().getLoc(); in parseDenseElementsAttr() local
837 auto loc = attrType ? attribLoc : getToken().getLoc(); in parseDenseElementsAttr()