Home
last modified time | relevance | path

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

/external/angle/src/tests/gl_tests/
DD3D11InputLayoutCacheTest.cpp76 GLint maxAttribs = 0; in TEST_P() local
77 context->getIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxAttribs); in TEST_P()
80 unsigned int maxInputs = static_cast<unsigned int>(maxAttribs) - 2; in TEST_P()
DVertexAttributeTest.cpp1153 GLint maxAttribs; in TEST_P() local
1154 glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxAttribs); in TEST_P()
1158 GLint drawAttribs = maxAttribs - 1; in TEST_P()
1176 GLint maxAttribs; in TEST_P() local
1177 glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxAttribs); in TEST_P()
1181 GLint drawAttribs = maxAttribs; in TEST_P()
/external/angle/src/libANGLE/
DVertexArray.cpp32 size_t maxAttribs, in VertexArrayState() argument
36 ASSERT(maxAttribs <= maxAttribBindings); in VertexArrayState()
38 for (size_t i = 0; i < maxAttribs; i++) in VertexArrayState()
112 size_t maxAttribs, in VertexArray() argument
115 mState(this, maxAttribs, maxAttribBindings), in VertexArray()
DVertexArray.h38 VertexArrayState(VertexArray *vertexArray, size_t maxAttribs, size_t maxBindings);
176 size_t maxAttribs,
DProgram.cpp3751 GLuint maxAttribs = static_cast<GLuint>(caps.maxVertexAttributes); in linkAttributes() local
3752 std::vector<sh::ShaderVariable *> usedAttribMap(maxAttribs, nullptr); in linkAttributes()
3773 if (static_cast<GLuint>(regs + attribute.location) > maxAttribs) in linkAttributes()
3817 int availableIndex = AllocateFirstFreeBits(&usedLocations, regs, maxAttribs); in linkAttributes()
3819 if (availableIndex == -1 || static_cast<GLuint>(availableIndex + regs) > maxAttribs) in linkAttributes()
/external/deqp/modules/glshared/
DglsAttributeLocationTests.cpp103 deInt32 maxAttribs; in getMaxAttributeLocations() local
105 gl.getIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxAttribs); in getMaxAttributeLocations()
108 return maxAttribs; in getMaxAttributeLocations()
/external/angle/src/libANGLE/renderer/gl/
DStateManagerGL.h140 VertexArrayStateGL(size_t maxAttribs, size_t maxBindings);
DStateManagerGL.cpp59 VertexArrayStateGL::VertexArrayStateGL(size_t maxAttribs, size_t maxBindings) in VertexArrayStateGL() argument
60 : attributes(std::min<size_t>(maxAttribs, gl::MAX_VERTEX_ATTRIBS)), in VertexArrayStateGL()