Lines Matching refs:vtxNdx
812 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
816 << "\t" << outData[vtxNdx] in generateTriangles()
881 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
885 << "\t" << outData[vtxNdx] in generateTriangles()
1011 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1015 << "\t" << outData[vtxNdx] in generateLines()
1074 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1078 << "\t" << outData[vtxNdx] in generateLines()
1436 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateVertices() local
1438 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1439 outData[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1440 outData[vtxNdx].z() = 0.0f; in generateVertices()
1441 outData[vtxNdx].w() = 1.0f; in generateVertices()
1457 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3) in extractTriangles() local
1459 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1460 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1461 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1478 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx) in extractTriangles() local
1480 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1481 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1482 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1484 if (triangleOrder(v0, v1, v2) != (cullDirection ^ (vtxNdx % 2 != 0))) in extractTriangles()
1499 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractTriangles() local
1502 const tcu::Vec4& v1 = vertices[vtxNdx + 0]; in extractTriangles()
1503 const tcu::Vec4& v2 = vertices[vtxNdx + 1]; in extractTriangles()
1583 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx) in iterate() local
1584 …tLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNd… in iterate()
1636 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx) in generateVertices() local
1638 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1639 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1640 outVertices[vtxNdx].z() = 0.0f; in generateVertices()
1643 outVertices[vtxNdx].w() = 1.0f; in generateVertices()
1648 outVertices[vtxNdx].x() *= w; in generateVertices()
1649 outVertices[vtxNdx].y() *= w; in generateVertices()
1650 outVertices[vtxNdx].z() *= w; in generateVertices()
1651 outVertices[vtxNdx].w() = w; in generateVertices()
1654 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
1664 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3) in extractTriangles() local
1667 tri.positions[0] = vertices[vtxNdx + 0]; in extractTriangles()
1668 tri.positions[1] = vertices[vtxNdx + 1]; in extractTriangles()
1669 tri.positions[2] = vertices[vtxNdx + 2]; in extractTriangles()
1674 tri.colors[0] = colors[vtxNdx + 0]; in extractTriangles()
1675 tri.colors[1] = colors[vtxNdx + 1]; in extractTriangles()
1676 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
1685 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx) in extractTriangles() local
1688 tri.positions[0] = vertices[vtxNdx + 0]; in extractTriangles()
1689 tri.positions[1] = vertices[vtxNdx + 1]; in extractTriangles()
1690 tri.positions[2] = vertices[vtxNdx + 2]; in extractTriangles()
1695 tri.colors[0] = colors[vtxNdx + 0]; in extractTriangles()
1696 tri.colors[1] = colors[vtxNdx + 1]; in extractTriangles()
1697 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
1706 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractTriangles() local
1710 tri.positions[1] = vertices[vtxNdx + 0]; in extractTriangles()
1711 tri.positions[2] = vertices[vtxNdx + 1]; in extractTriangles()
1717 tri.colors[1] = colors[vtxNdx + 0]; in extractTriangles()
1718 tri.colors[2] = colors[vtxNdx + 1]; in extractTriangles()
1780 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx) in iterate() local
1781 …tLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNd… in iterate()
1867 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx) in generateVertices() local
1869 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1870 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1871 outVertices[vtxNdx].z() = 0.0f; in generateVertices()
1874 outVertices[vtxNdx].w() = 1.0f; in generateVertices()
1879 outVertices[vtxNdx].x() *= w; in generateVertices()
1880 outVertices[vtxNdx].y() *= w; in generateVertices()
1881 outVertices[vtxNdx].z() *= w; in generateVertices()
1882 outVertices[vtxNdx].w() = w; in generateVertices()
1885 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
1895 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; vtxNdx += 2) in extractLines() local
1898 line.positions[0] = vertices[vtxNdx + 0]; in extractLines()
1899 line.positions[1] = vertices[vtxNdx + 1]; in extractLines()
1901 line.colors[0] = colors[vtxNdx + 0]; in extractLines()
1902 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
1911 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractLines() local
1914 line.positions[0] = vertices[vtxNdx + 0]; in extractLines()
1915 line.positions[1] = vertices[vtxNdx + 1]; in extractLines()
1917 line.colors[0] = colors[vtxNdx + 0]; in extractLines()
1918 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
1927 for (int vtxNdx = 0; vtxNdx < (int)vertices.size(); ++vtxNdx) in extractLines() local
1930 line.positions[0] = vertices[(vtxNdx + 0) % (int)vertices.size()]; in extractLines()
1931 line.positions[1] = vertices[(vtxNdx + 1) % (int)vertices.size()]; in extractLines()
1933 line.colors[0] = colors[(vtxNdx + 0) % (int)vertices.size()]; in extractLines()
1934 line.colors[1] = colors[(vtxNdx + 1) % (int)vertices.size()]; in extractLines()