/external/deqp/modules/gles2/functional/ |
D | es2fRasterizationTests.cpp | 665 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local 669 << "\t" << outData[vtxNdx] in generateTriangles() 734 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local 738 << "\t" << outData[vtxNdx] in generateTriangles() 864 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local 868 << "\t" << outData[vtxNdx] in generateLines() 927 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local 931 << "\t" << outData[vtxNdx] in generateLines() 1289 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateVertices() local 1291 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices() [all …]
|
D | es2fBufferTestUtil.cpp | 362 static inline tcu::Vec4 fetchVtxColor (const deUint8* ptr, int vtxNdx) in fetchVtxColor() argument 364 return tcu::RGBA(*(ptr + vtxNdx*3 + 0), in fetchVtxColor() 365 *(ptr + vtxNdx*3 + 1), in fetchVtxColor() 366 *(ptr + vtxNdx*3 + 2), in fetchVtxColor()
|
/external/deqp/modules/gles3/functional/ |
D | es3fRasterizationTests.cpp | 942 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local 946 << "\t" << outData[vtxNdx] in generateTriangles() 1011 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local 1015 << "\t" << outData[vtxNdx] in generateTriangles() 1141 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local 1145 << "\t" << outData[vtxNdx] in generateLines() 1204 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local 1208 << "\t" << outData[vtxNdx] in generateLines() 1566 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateVertices() local 1568 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices() [all …]
|
D | es3fShaderBuiltinVarTests.cpp | 824 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx += 3) in init() local 829 const int triNdx = vtxNdx/3; in init() 839 m_positions[vtxNdx+0] = tcu::Vec4(x0, y0, 0.0f, 1.0f); in init() 840 m_positions[vtxNdx+1] = tcu::Vec4(x0+w, y0+h, 0.0f, 1.0f); in init() 841 m_positions[vtxNdx+2] = tcu::Vec4(x0, y0+h, 0.0f, 1.0f); in init() 845 m_positions[vtxNdx+0] = tcu::Vec4(x0+w, y0+h, 0.0f, 1.0f); in init() 846 m_positions[vtxNdx+1] = tcu::Vec4(x0, y0, 0.0f, 1.0f); in init() 847 m_positions[vtxNdx+2] = tcu::Vec4(x0+w, y0, 0.0f, 1.0f); in init()
|
D | es3fTransformFeedbackTests.cpp | 682 int vtxNdx = outNdx%3; in getAttributeIndex() local 683 return (triNdx%2 != 0 && vtxNdx < 2) ? (triNdx+1-vtxNdx) : (triNdx+vtxNdx); in getAttributeIndex()
|
/external/deqp/framework/randomshaders/ |
D | rsgProgramExecutor.cpp | 50 ValueAccess getValue (const VariableType& type, int vtxNdx); 51 ConstValueAccess getValue (const VariableType& type, int vtxNdx) const; 62 ValueAccess VaryingStorage::getValue (const VariableType& type, int vtxNdx) in getValue() argument 64 return ValueAccess(type, &m_value[type.getScalarSize()*vtxNdx]); in getValue() 67 ConstValueAccess VaryingStorage::getValue (const VariableType& type, int vtxNdx) const in getValue() 69 return ConstValueAccess(type, &m_value[type.getScalarSize()*vtxNdx]); in getValue() 243 for (int vtxNdx = packetStart; vtxNdx < packetEnd; vtxNdx++) in execute() local 245 int y = (vtxNdx/gridVtxWidth); in execute() 246 int x = vtxNdx - y*gridVtxWidth; in execute() 250 interpolateVertexInput(access, vtxNdx-packetStart, input->getValueRange(), xf, yf); in execute() [all …]
|
/external/deqp/modules/gles3/stress/ |
D | es3sOcclusionQueryTests.cpp | 188 int vtxNdx = m_rnd.getInt(0, NUM_GENERATED_VERTICES-1); in iterate() local 189 occluderVertices[4*i ] = vertices[4*vtxNdx]; in iterate() 190 occluderVertices[4*i + 1] = vertices[4*vtxNdx + 1]; in iterate() 191 occluderVertices[4*i + 2] = vertices[4*vtxNdx + 2]; in iterate() 192 occluderVertices[4*i + 3] = vertices[4*vtxNdx + 3]; in iterate() 199 int vtxNdx = m_rnd.getInt(0, NUM_GENERATED_VERTICES-1); in iterate() local 200 targetVertices[4*i ] = vertices[4*vtxNdx]; in iterate() 201 targetVertices[4*i + 1] = vertices[4*vtxNdx + 1]; in iterate() 202 targetVertices[4*i + 2] = vertices[4*vtxNdx + 2]; in iterate() 203 targetVertices[4*i + 3] = vertices[4*vtxNdx + 3]; in iterate()
|
/external/deqp/modules/glshared/ |
D | glsLongStressCase.cpp | 386 const int vtxNdx = (int)m_posBuf.size()/2; in addTextToBuffer() local 388 m_ndxBuf.push_back(vtxNdx+0); in addTextToBuffer() 389 m_ndxBuf.push_back(vtxNdx+1); in addTextToBuffer() 390 m_ndxBuf.push_back(vtxNdx+2); in addTextToBuffer() 392 m_ndxBuf.push_back(vtxNdx+2); in addTextToBuffer() 393 m_ndxBuf.push_back(vtxNdx+1); in addTextToBuffer() 394 m_ndxBuf.push_back(vtxNdx+3); in addTextToBuffer() 1009 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx++) in generateRandomAttribData() local 1011 …data[vtxNdx*numComponents + compNdx] = rnd.getFloat(attrSpec.minValue.f[compNdx], attrSpec.maxValu… in generateRandomAttribData() 1019 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx++) in generateRandomAttribData() local [all …]
|
D | glsFragOpInteractionCase.cpp | 502 for (int vtxNdx = 0; vtxNdx < 4; vtxNdx++) in iterate() local 504 const int fNdx = (attribNdx+vtxNdx+m_iterNdx)%DE_LENGTH_OF_ARRAY(vtxInterpFactors); in iterate() 509 …case 1: setVertex(layoutEntry.pointer, vtxNdx, interpolateRange(valueRange, f.toWidth<1>())); brea… in iterate() 510 …case 2: setVertex(layoutEntry.pointer, vtxNdx, interpolateRange(valueRange, f.toWidth<2>())); brea… in iterate() 511 …case 3: setVertex(layoutEntry.pointer, vtxNdx, interpolateRange(valueRange, f.toWidth<3>())); brea… in iterate() 512 …case 4: setVertex(layoutEntry.pointer, vtxNdx, interpolateRange(valueRange, f.toWidth<4>())); brea… in iterate()
|
D | glsRandomShaderCase.cpp | 159 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx++) in init() local 161 int y = vtxNdx / (m_gridWidth+1); in init() 162 int x = vtxNdx - y*(m_gridWidth+1); in init() 165 float* dst = &vtxArray.getVertices()[vtxNdx*numComponents]; in init()
|
D | glsShaderRenderCase.cpp | 221 int vtxNdx = ((y * (gridSize+1)) + x); in QuadGrid() local 223 m_positions[vtxNdx] = Vec4(fx, fy, 0.0f, 1.0f); in QuadGrid() 224 m_attribOne[vtxNdx] = 1.0f; in QuadGrid() 225 m_screenPos[vtxNdx] = Vec4(sx, sy, 0.0f, 1.0f) * viewportScale; in QuadGrid() 226 m_coords[vtxNdx] = getCoords(sx, sy); in QuadGrid() 227 m_unitCoords[vtxNdx] = getUnitCoords(sx, sy); in QuadGrid() 230 m_userAttribs[attribNdx][vtxNdx] = getUserAttrib(attribNdx, sx, sy); in QuadGrid() 668 int vtxNdx = ((y * (gridSize+1)) + x); in computeVertexReference() local 678 colors[vtxNdx] = color; in computeVertexReference()
|
D | glsBufferTestUtil.cpp | 522 static inline tcu::Vec4 fetchVtxColor (const deUint8* ptr, int vtxNdx) in fetchVtxColor() argument 524 return tcu::RGBA(*(ptr + vtxNdx*3 + 0), in fetchVtxColor() 525 *(ptr + vtxNdx*3 + 1), in fetchVtxColor() 526 *(ptr + vtxNdx*3 + 2), in fetchVtxColor()
|
D | glsRasterizationTestUtil.cpp | 1639 for (int vtxNdx = 0; vtxNdx < 3; ++vtxNdx) in calculateTriangleCoverage() local 1641 const int otherVtxNdx = (vtxNdx + 1) % 3; in calculateTriangleCoverage() 1643 …st I64Vec2 edge = triangleSubPixelSpaceRound[otherVtxNdx] - triangleSubPixelSpaceRound[vtxNdx]; in calculateTriangleCoverage() 1644 const I64Vec2 v = pixelCenterPosition - triangleSubPixelSpaceRound[vtxNdx]; in calculateTriangleCoverage()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTessellationTests.cpp | 3741 for (int vtxNdx = 0; vtxNdx < (int)prim0Vertices.size(); vtxNdx++) in iterate() local 3743 if (prim0Vertices[vtxNdx] != prim1Vertices[vtxNdx]) in iterate() 3745 …log << TestLog::Message << "Failure: tessellation coordinate at index " << vtxNdx << " differs bet… in iterate() 3746 …Note: the coordinate is " << prim0Vertices[vtxNdx] << " for the first primitive and " << prim1Vert… in iterate() 3796 for (int vtxNdx = 0; vtxNdx < (int)coordsA.size(); vtxNdx++) in compare() local 3798 if (coordsA[vtxNdx] != coordsB[vtxNdx]) in compare() 3800 …) << TestLog::Message << "Failure: tessellation coordinate at index " << vtxNdx << " differs betwe… in compare() 3801 …ssage << "Note: the coordinate is " << coordsA[vtxNdx] << " for the first program and " << coordsB… in compare() 4040 for(int vtxNdx = numVerticesRead; vtxNdx < numVerticesRead + patchNumVertices; vtxNdx++) in iterate() local 4042 const Vec3& vtx = tfResult.varying[vtxNdx]; in iterate() [all …]
|