• Home
  • Raw
  • Download

Lines Matching refs:vtxNdx

811 	for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)  in generateTriangles()  local
815 << "\t" << outData[vtxNdx] in generateTriangles()
880 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
884 << "\t" << outData[vtxNdx] in generateTriangles()
1010 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1014 << "\t" << outData[vtxNdx] in generateLines()
1073 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1077 << "\t" << outData[vtxNdx] in generateLines()
1435 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateVertices() local
1437 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1438 outData[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1439 outData[vtxNdx].z() = 0.0f; in generateVertices()
1440 outData[vtxNdx].w() = 1.0f; in generateVertices()
1456 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3) in extractTriangles() local
1458 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1459 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1460 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1477 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx) in extractTriangles() local
1479 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1480 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1481 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1483 if (triangleOrder(v0, v1, v2) != (cullDirection ^ (vtxNdx % 2 != 0))) in extractTriangles()
1498 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractTriangles() local
1501 const tcu::Vec4& v1 = vertices[vtxNdx + 0]; in extractTriangles()
1502 const tcu::Vec4& v2 = vertices[vtxNdx + 1]; in extractTriangles()
1582 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx) in iterate() local
1583 …tLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNd… in iterate()
1635 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx) in generateVertices() local
1637 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1638 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1639 outVertices[vtxNdx].z() = 0.0f; in generateVertices()
1642 outVertices[vtxNdx].w() = 1.0f; in generateVertices()
1647 outVertices[vtxNdx].x() *= w; in generateVertices()
1648 outVertices[vtxNdx].y() *= w; in generateVertices()
1649 outVertices[vtxNdx].z() *= w; in generateVertices()
1650 outVertices[vtxNdx].w() = w; in generateVertices()
1653 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
1663 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3) in extractTriangles() local
1666 tri.positions[0] = vertices[vtxNdx + 0]; in extractTriangles()
1667 tri.positions[1] = vertices[vtxNdx + 1]; in extractTriangles()
1668 tri.positions[2] = vertices[vtxNdx + 2]; in extractTriangles()
1673 tri.colors[0] = colors[vtxNdx + 0]; in extractTriangles()
1674 tri.colors[1] = colors[vtxNdx + 1]; in extractTriangles()
1675 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
1684 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx) in extractTriangles() local
1687 tri.positions[0] = vertices[vtxNdx + 0]; in extractTriangles()
1688 tri.positions[1] = vertices[vtxNdx + 1]; in extractTriangles()
1689 tri.positions[2] = vertices[vtxNdx + 2]; in extractTriangles()
1694 tri.colors[0] = colors[vtxNdx + 0]; in extractTriangles()
1695 tri.colors[1] = colors[vtxNdx + 1]; in extractTriangles()
1696 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
1705 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractTriangles() local
1709 tri.positions[1] = vertices[vtxNdx + 0]; in extractTriangles()
1710 tri.positions[2] = vertices[vtxNdx + 1]; in extractTriangles()
1716 tri.colors[1] = colors[vtxNdx + 0]; in extractTriangles()
1717 tri.colors[2] = colors[vtxNdx + 1]; in extractTriangles()
1779 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx) in iterate() local
1780 …tLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNd… in iterate()
1865 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx) in generateVertices() local
1867 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1868 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1869 outVertices[vtxNdx].z() = 0.0f; in generateVertices()
1872 outVertices[vtxNdx].w() = 1.0f; in generateVertices()
1877 outVertices[vtxNdx].x() *= w; in generateVertices()
1878 outVertices[vtxNdx].y() *= w; in generateVertices()
1879 outVertices[vtxNdx].z() *= w; in generateVertices()
1880 outVertices[vtxNdx].w() = w; in generateVertices()
1883 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
1893 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; vtxNdx += 2) in extractLines() local
1896 line.positions[0] = vertices[vtxNdx + 0]; in extractLines()
1897 line.positions[1] = vertices[vtxNdx + 1]; in extractLines()
1899 line.colors[0] = colors[vtxNdx + 0]; in extractLines()
1900 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
1909 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractLines() local
1912 line.positions[0] = vertices[vtxNdx + 0]; in extractLines()
1913 line.positions[1] = vertices[vtxNdx + 1]; in extractLines()
1915 line.colors[0] = colors[vtxNdx + 0]; in extractLines()
1916 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
1925 for (int vtxNdx = 0; vtxNdx < (int)vertices.size(); ++vtxNdx) in extractLines() local
1928 line.positions[0] = vertices[(vtxNdx + 0) % (int)vertices.size()]; in extractLines()
1929 line.positions[1] = vertices[(vtxNdx + 1) % (int)vertices.size()]; in extractLines()
1931 line.colors[0] = colors[(vtxNdx + 0) % (int)vertices.size()]; in extractLines()
1932 line.colors[1] = colors[(vtxNdx + 1) % (int)vertices.size()]; in extractLines()