Searched refs:attribValue (Results 1 – 5 of 5) 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 | 779 void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue… in calcShaderColorCoord() argument 784 case 1: coord = tcu::Vec2((float)attribValue.x(), (float)attribValue.x()); break; in calcShaderColorCoord() 785 case 2: coord = tcu::Vec2((float)attribValue.x(), (float)attribValue.y()); break; in calcShaderColorCoord() 786 …case 3: coord = tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y())… in calcShaderColorCoord() 787 …case 4: coord = tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y() … in calcShaderColorCoord() 797 color = color * (float)attribValue.x(); in calcShaderColorCoord() 801 color.x() = color.x() * (float)attribValue.x(); in calcShaderColorCoord() 802 color.y() = color.y() * (float)attribValue.y(); in calcShaderColorCoord() 806 color.x() = color.x() * (float)attribValue.x(); in calcShaderColorCoord() 807 color.y() = color.y() * (float)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 | 1156 void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue… in calcShaderColorCoord() argument 1161 case 1: coord += tcu::Vec2((float)attribValue.x(), (float)attribValue.x()); break; in calcShaderColorCoord() 1162 case 2: coord += tcu::Vec2((float)attribValue.x(), (float)attribValue.y()); break; in calcShaderColorCoord() 1163 …case 3: coord += tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y()… in calcShaderColorCoord() 1164 …case 4: coord += tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y()… in calcShaderColorCoord() 1174 color = color * (float)attribValue.x(); in calcShaderColorCoord() 1178 color.x() = color.x() * (float)attribValue.x(); in calcShaderColorCoord() 1179 color.y() = color.y() * (float)attribValue.y(); in calcShaderColorCoord() 1183 color.x() = color.x() * (float)attribValue.x(); in calcShaderColorCoord() 1184 color.y() = color.y() * (float)attribValue.y(); in calcShaderColorCoord() [all …]
|