/external/deqp/modules/gles3/functional/ |
es3fVertexArrayObjectTests.cpp | 201 for (int attribNdx = 0; attribNdx < (int)state.attributes.size(); attribNdx++) 204 << "attribute : " << attribNdx << "\n" 205 << "\tGL_VERTEX_ATTRIB_ARRAY_ENABLED : " << (state.attributes[attribNdx].enabled ? "GL_TRUE" : "GL_FALSE") << "\n" 206 << "\tGL_VERTEX_ATTRIB_ARRAY_SIZE : " << state.attributes[attribNdx].size << "\n" 207 << "\tGL_VERTEX_ATTRIB_ARRAY_STRIDE : " << state.attributes[attribNdx].stride << "\n" 208 << "\tGL_VERTEX_ATTRIB_ARRAY_TYPE : " << state.attributes[attribNdx].type << "\n" 209 << "\tGL_VERTEX_ATTRIB_ARRAY_NORMALIZED : " << (state.attributes[attribNdx].normalized ? "GL_TRUE" : "GL_FALSE") << "\n" 210 << "\tGL_VERTEX_ATTRIB_ARRAY_INTEGER : " << (state.attributes[attribNdx].integer ? "GL_TRUE" : "GL_FALSE") << "\n [all...] |
es3fShaderMatrixTests.cpp | [all...] |
/external/deqp/modules/gles2/performance/ |
es2pDrawCallBatchingTests.cpp | 588 for (int attribNdx = 0; attribNdx < m_spec.staticAttributeCount; attribNdx++) 590 GLint location = gl.getAttribLocation(m_program->getProgram(), ("a_static" + de::toString(attribNdx)).c_str()); 596 gl.bindBuffer(GL_ARRAY_BUFFER, m_unbatchedStaticBuffers[attribNdx]); 601 gl.vertexAttribPointer(location, 4, GL_BYTE, GL_TRUE, 0, &(m_staticAttributeDatas[attribNdx][0])); 605 for (int attribNdx = 0; attribNdx < m_spec.dynamicAttributeCount; attribNdx++) 607 GLint location = gl.getAttribLocation(m_program->getProgram(), ("a_dyn" + de::toString(attribNdx)).c_str()) [all...] |
es2pShaderOperatorTests.cpp | 648 for (int attribNdx = 0; attribNdx < (int)attributes.size(); attribNdx++) 651 generateVertices(vertices, m_gridSizeX, m_gridSizeY, attributes[attribNdx]); 653 gl.bindBuffer(GL_ARRAY_BUFFER, m_attribBuffers[attribNdx]); 659 for (int attribNdx = 0; attribNdx < (int)attributes.size(); attribNdx++) 661 int location = gl.getAttribLocation(program.getProgram(), attributes[attribNdx].name.c_str()); 666 gl.bindBuffer(GL_ARRAY_BUFFER, m_attribBuffers[attribNdx]); [all...] |
es2pShaderCompilationCases.cpp | [all...] |
/external/deqp/framework/egl/ |
egluGLUtil.cpp | 209 for (int attribNdx = 0; attribNdx < DE_LENGTH_OF_ARRAY(s_attribs); attribNdx++) 211 if (renderConfig.*s_attribs[attribNdx].field != glu::RenderConfig::DONT_CARE) 214 EGLU_CHECK_CALL(egl, getConfigAttrib(display, eglConfig, s_attribs[attribNdx].attrib, &value)); 215 if (value != renderConfig.*s_attribs[attribNdx].field)
|
/external/deqp/modules/glshared/ |
glsShaderPerformanceMeasurer.cpp | 197 for (int attribNdx = 0; attribNdx < (int)m_attributes.size(); attribNdx++) 200 generateVertices(vertices, m_gridSizeX, m_gridSizeY, m_attributes[attribNdx]); 202 gl.bindBuffer(GL_ARRAY_BUFFER, m_attribBuffers[attribNdx]); 209 for (int attribNdx = 0; attribNdx < (int)m_attributes.size(); attribNdx++) 211 int location = gl.getAttribLocation(program, m_attributes[attribNdx].name.c_str()); 216 gl.bindBuffer(GL_ARRAY_BUFFER, m_attribBuffers[attribNdx]); [all...] |
glsAttributeLocationTests.cpp | 77 for (int attribNdx = 0; attribNdx < (int)attributes.size(); attribNdx++) 79 const deInt32 location = getBoundLocation(bindings, attributes[attribNdx].getName()); 80 const deUint32 size = attributes[attribNdx].getType().getLocationSize(); 485 for (int attribNdx = 0; attribNdx < (int)attributes.size(); attribNdx++) 487 const Attribute& attrib = attributes[attribNdx]; 531 for (int attribNdx = 0; attribNdx < (int)attributes.size(); attribNdx++ [all...] |
glsShaderRenderCase.cpp | 151 const Vec4* getUserAttrib (int attribNdx) const { return &m_userAttribs[attribNdx][0]; } 158 Vec4 getUserAttrib (int attribNdx, float sx, float sy) const; 213 for (int attribNdx = 0; attribNdx < getNumUserAttribs(); attribNdx++) 214 m_userAttribs[attribNdx][vtxNdx] = getUserAttrib(attribNdx, sx, sy); 255 inline Vec4 QuadGrid::getUserAttrib (int attribNdx, float sx, float sy) const 258 return m_userAttribTransforms[attribNdx] * Vec4(sx, sy, 0.0f, 1.0f) [all...] |
glsFragOpInteractionCase.cpp | 313 for (int attribNdx = 0; attribNdx < vertexData.getNumEntries(); ++attribNdx) 315 const glu::VertexArrayBinding bindingPtr = getEntryWithPointer(vertexData, attribNdx); 534 for (int attribNdx = 0; attribNdx < (int)m_vertexShader.getInputs().size(); ++attribNdx) 536 if (attribNdx == positionNdx) 539 const rsg::ShaderInput* shaderIn = m_vertexShader.getInputs()[attribNdx]; 543 const glu::VertexArrayBinding layoutEntry = getEntryWithPointer(vertexData, attribNdx); [all...] |
glsRandomShaderProgram.cpp | 181 for (int attribNdx = 0; attribNdx < (int)m_vertexShader.getInputs().size(); ++attribNdx) 183 const rsg::Variable* attribVar = m_vertexShader.getInputs()[attribNdx]->getVariable(); 194 const tcu::Vec4 attribValue = rr::readVertexAttribFloat(inputs[attribNdx], packet->instanceNdx, packet->vertexNdx);
|
glsVertexArrayTests.cpp | 532 void ContextArray::bind (int attribNdx, int offset, int size, InputType inputType, OutputType outType, bool normalized, int stride) 534 m_attribNdx = attribNdx; 838 for (int attribNdx = 0; attribNdx < (int)m_attrType.size(); attribNdx++) 840 const int numComponents = m_componentCount[attribNdx]; 842 switch (m_attrType[attribNdx]) 844 case rr::GENERICVECTYPE_FLOAT: calcShaderColorCoord(coord, color, rr::readVertexAttribFloat(inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0, numComponents); break; 845 case rr::GENERICVECTYPE_INT32: calcShaderColorCoord(coord, color, rr::readVertexAttribInt (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0, numComponents); break [all...] |
glsVertexArrayTests.hpp | 154 virtual void bind (int attribNdx, int offset, int size, InputType inType, OutputType outType, bool normalized, int stride) = 0; 166 virtual void setAttribNdx (int attribNdx) = 0; 176 virtual void bind (int attribNdx, int offset, int size, InputType inType, OutputType outType, bool normalized, int stride); 189 virtual void setAttribNdx (int attribNdx) { m_attribNdx = attribNdx; }
|
glsDrawTest.cpp | [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderMatrixTests.cpp | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderMatrixTests.cpp | [all...] |
vktShaderRender.cpp | 162 const tcu::Vec4* getUserAttrib (int attribNdx) const { return &m_userAttribs[attribNdx][0]; } 169 tcu::Vec4 getUserAttrib (int attribNdx, float sx, float sy) const; 231 for (int attribNdx = 0; attribNdx < getNumUserAttribs(); attribNdx++) 232 m_userAttribs[attribNdx][vtxNdx] = getUserAttrib(attribNdx, sx, sy); 273 inline tcu::Vec4 QuadGrid::getUserAttrib (int attribNdx, float sx, float sy) const 276 return m_userAttribTransforms[attribNdx] * tcu::Vec4(sx, sy, 0.0f, 1.0f) [all...] |
/external/deqp/scripts/egl/ |
call_log_wrapper.py | 44 def configAttrib (attribNdx): 45 return lambda name: "getConfigAttribValueStr(param%d, %s)" % (attribNdx, name)
|
/external/deqp/modules/egl/ |
teglChooseConfigTests.cpp | 460 for (int attribNdx = 0; attribNdx < numAttribs; attribNdx++)
|
/external/deqp/modules/gles3/performance/ |
es3pShaderOperatorTests.cpp | 648 for (int attribNdx = 0; attribNdx < (int)attributes.size(); attribNdx++) 651 generateVertices(vertices, m_gridSizeX, m_gridSizeY, attributes[attribNdx]); 653 gl.bindBuffer(GL_ARRAY_BUFFER, m_attribBuffers[attribNdx]); 659 for (int attribNdx = 0; attribNdx < (int)attributes.size(); attribNdx++) 661 int location = gl.getAttribLocation(program.getProgram(), attributes[attribNdx].name.c_str()); 666 gl.bindBuffer(GL_ARRAY_BUFFER, m_attribBuffers[attribNdx]); [all...] |
es3pShaderCompilationCases.cpp | [all...] |