Searched refs:attribValue (Results 1 – 6 of 6) sorted by relevance
/external/deqp/modules/gles3/functional/ |
D | es3fShaderStateQueryTests.cpp | 141 StateQueryMemoryWriteGuard<GLfloat[4]> attribValue; in verifyCurrentVertexAttribf() local 142 gl.glGetVertexAttribfv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue); in verifyCurrentVertexAttribf() 144 attribValue.verifyValidity(testCtx); in verifyCurrentVertexAttribf() 146 if (attribValue[0] != x || attribValue[1] != y || attribValue[2] != z || attribValue[3] != w) in verifyCurrentVertexAttribf() 150 …<< "got [" << attribValue[0] << "," << attribValue[1] << "," << attribValue[2] << "," << attribVal… in verifyCurrentVertexAttribf() 161 StateQueryMemoryWriteGuard<GLint[4]> attribValue; in verifyCurrentVertexAttribIi() local 162 gl.glGetVertexAttribIiv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue); in verifyCurrentVertexAttribIi() 164 attribValue.verifyValidity(testCtx); in verifyCurrentVertexAttribIi() 166 if (attribValue[0] != x || attribValue[1] != y || attribValue[2] != z || attribValue[3] != w) in verifyCurrentVertexAttribIi() 170 …<< "got [" << attribValue[0] << "," << attribValue[1] << "," << attribValue[2] << "," << attribVal… in verifyCurrentVertexAttribIi() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderStateQueryTests.cpp | 122 StateQueryMemoryWriteGuard<GLfloat[4]> attribValue; in verifyCurrentVertexAttribf() local 123 gl.glGetVertexAttribfv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue); in verifyCurrentVertexAttribf() 125 attribValue.verifyValidity(testCtx); in verifyCurrentVertexAttribf() 127 if (attribValue[0] != x || attribValue[1] != y || attribValue[2] != z || attribValue[3] != w) in verifyCurrentVertexAttribf() 131 …<< "got [" << attribValue[0] << "," << attribValue[1] << "," << attribValue[2] << "," << attribVal… in verifyCurrentVertexAttribf() 142 StateQueryMemoryWriteGuard<GLint[4]> attribValue; in verifyCurrentVertexAttribConversion() local 143 gl.glGetVertexAttribiv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue); in verifyCurrentVertexAttribConversion() 145 attribValue.verifyValidity(testCtx); in verifyCurrentVertexAttribConversion() 162 if (attribValue[0] < referenceAsGLintMin[0] || attribValue[0] > referenceAsGLintMax[0] || in verifyCurrentVertexAttribConversion() 163 attribValue[1] < referenceAsGLintMin[1] || attribValue[1] > referenceAsGLintMax[1] || in verifyCurrentVertexAttribConversion() [all …]
|
/external/deqp/modules/glshared/ |
D | glsVertexArrayTests.cpp | 811 void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue… in calcShaderColorCoord() argument 816 case 1: coord = tcu::Vec2((float)attribValue.x(), (float)attribValue.x()); break; in calcShaderColorCoord() 817 case 2: coord = tcu::Vec2((float)attribValue.x(), (float)attribValue.y()); break; in calcShaderColorCoord() 818 …case 3: coord = tcu::Vec2((float)attribValue.x() + attribValue.z(), (float)attribValue.y()); b… in calcShaderColorCoord() 819 …case 4: coord = tcu::Vec2((float)attribValue.x() + attribValue.z(), (float)attribValue.y() + attri… in calcShaderColorCoord() 829 color = color * (float)attribValue.x(); in calcShaderColorCoord() 833 color.x() = color.x() * attribValue.x(); in calcShaderColorCoord() 834 color.y() = color.y() * attribValue.y(); in calcShaderColorCoord() 838 color.x() = color.x() * attribValue.x(); in calcShaderColorCoord() 839 color.y() = color.y() * attribValue.y(); in calcShaderColorCoord() [all …]
|
D | glsRandomShaderProgram.cpp | 194 …const tcu::Vec4 attribValue = rr::readVertexAttribFloat(inputs[attribNdx], packet->instanceNdx, … in shadeVertices() local 196 access.component(0).asFloat(ndx) = attribValue[0]; in shadeVertices() 197 if (numComponents >= 2) access.component(1).asFloat(ndx) = attribValue[1]; in shadeVertices() 198 if (numComponents >= 3) access.component(2).asFloat(ndx) = attribValue[2]; in shadeVertices() 199 if (numComponents >= 4) access.component(3).asFloat(ndx) = attribValue[3]; in shadeVertices()
|
D | glsDrawTest.cpp | 1188 void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue… in calcShaderColorCoord() argument 1193 case 1: coord += tcu::Vec2((float)attribValue.x(), (float)attribValue.x()); break; in calcShaderColorCoord() 1194 case 2: coord += tcu::Vec2((float)attribValue.x(), (float)attribValue.y()); break; in calcShaderColorCoord() 1195 …case 3: coord += tcu::Vec2((float)attribValue.x() + attribValue.z(), (float)attribValue.y()); … in calcShaderColorCoord() 1196 …case 4: coord += tcu::Vec2((float)attribValue.x() + attribValue.z(), (float)attribValue.y() + attr… in calcShaderColorCoord() 1206 color = color * (float)attribValue.x(); in calcShaderColorCoord() 1210 color.x() = color.x() * attribValue.x(); in calcShaderColorCoord() 1211 color.y() = color.y() * attribValue.y(); in calcShaderColorCoord() 1215 color.x() = color.x() * attribValue.x(); in calcShaderColorCoord() 1216 color.y() = color.y() * attribValue.y(); in calcShaderColorCoord() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
D | WebGLRenderingContextBase.cpp | 5440 VertexAttribValue& attribValue = m_vertexAttribValue[index]; in vertexAttribfImpl() local 5441 attribValue.value[0] = v0; in vertexAttribfImpl() 5442 attribValue.value[1] = v1; in vertexAttribfImpl() 5443 attribValue.value[2] = v2; in vertexAttribfImpl() 5444 attribValue.value[3] = v3; in vertexAttribfImpl() 5489 VertexAttribValue& attribValue = m_vertexAttribValue[index]; in vertexAttribfvImpl() local 5490 attribValue.initValue(); in vertexAttribfvImpl() 5492 attribValue.value[ii] = v[ii]; in vertexAttribfvImpl()
|