Lines Matching refs:vtxNdx
958 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
962 << "\t" << outData[vtxNdx] in generateTriangles()
1027 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
1031 << "\t" << outData[vtxNdx] in generateTriangles()
1157 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1161 << "\t" << outData[vtxNdx] in generateLines()
1220 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1224 << "\t" << outData[vtxNdx] in generateLines()
1582 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateVertices() local
1584 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1585 outData[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1586 outData[vtxNdx].z() = 0.0f; in generateVertices()
1587 outData[vtxNdx].w() = 1.0f; in generateVertices()
1603 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3) in extractTriangles() local
1605 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1606 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1607 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1624 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx) in extractTriangles() local
1626 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1627 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1628 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1630 if (triangleOrder(v0, v1, v2) != (cullDirection ^ (vtxNdx % 2 != 0))) in extractTriangles()
1645 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractTriangles() local
1648 const tcu::Vec4& v1 = vertices[vtxNdx + 0]; in extractTriangles()
1649 const tcu::Vec4& v2 = vertices[vtxNdx + 1]; in extractTriangles()
1730 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx) in iterate() local
1731 …tLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNd… in iterate()
1783 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx) in generateVertices() local
1785 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1786 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1787 outVertices[vtxNdx].z() = 0.0f; in generateVertices()
1790 outVertices[vtxNdx].w() = 1.0f; in generateVertices()
1795 outVertices[vtxNdx].x() *= w; in generateVertices()
1796 outVertices[vtxNdx].y() *= w; in generateVertices()
1797 outVertices[vtxNdx].z() *= w; in generateVertices()
1798 outVertices[vtxNdx].w() = w; in generateVertices()
1801 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
1811 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3) in extractTriangles() local
1814 tri.positions[0] = vertices[vtxNdx + 0]; in extractTriangles()
1815 tri.positions[1] = vertices[vtxNdx + 1]; in extractTriangles()
1816 tri.positions[2] = vertices[vtxNdx + 2]; in extractTriangles()
1823 tri.colors[0] = colors[vtxNdx + 2]; in extractTriangles()
1824 tri.colors[1] = colors[vtxNdx + 2]; in extractTriangles()
1825 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
1829 tri.colors[0] = colors[vtxNdx + 0]; in extractTriangles()
1830 tri.colors[1] = colors[vtxNdx + 1]; in extractTriangles()
1831 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
1841 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx) in extractTriangles() local
1844 tri.positions[0] = vertices[vtxNdx + 0]; in extractTriangles()
1845 tri.positions[1] = vertices[vtxNdx + 1]; in extractTriangles()
1846 tri.positions[2] = vertices[vtxNdx + 2]; in extractTriangles()
1853 tri.colors[0] = colors[vtxNdx + 2]; in extractTriangles()
1854 tri.colors[1] = colors[vtxNdx + 2]; in extractTriangles()
1855 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
1859 tri.colors[0] = colors[vtxNdx + 0]; in extractTriangles()
1860 tri.colors[1] = colors[vtxNdx + 1]; in extractTriangles()
1861 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
1871 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractTriangles() local
1875 tri.positions[1] = vertices[vtxNdx + 0]; in extractTriangles()
1876 tri.positions[2] = vertices[vtxNdx + 1]; in extractTriangles()
1883 tri.colors[0] = colors[vtxNdx + 1]; in extractTriangles()
1884 tri.colors[1] = colors[vtxNdx + 1]; in extractTriangles()
1885 tri.colors[2] = colors[vtxNdx + 1]; in extractTriangles()
1890 tri.colors[1] = colors[vtxNdx + 0]; in extractTriangles()
1891 tri.colors[2] = colors[vtxNdx + 1]; in extractTriangles()
1999 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx) in iterate() local
2000 …tLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNd… in iterate()
2085 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx) in generateVertices() local
2087 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
2088 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
2089 outVertices[vtxNdx].z() = 0.0f; in generateVertices()
2092 outVertices[vtxNdx].w() = 1.0f; in generateVertices()
2097 outVertices[vtxNdx].x() *= w; in generateVertices()
2098 outVertices[vtxNdx].y() *= w; in generateVertices()
2099 outVertices[vtxNdx].z() *= w; in generateVertices()
2100 outVertices[vtxNdx].w() = w; in generateVertices()
2103 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
2113 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; vtxNdx += 2) in extractLines() local
2116 line.positions[0] = vertices[vtxNdx + 0]; in extractLines()
2117 line.positions[1] = vertices[vtxNdx + 1]; in extractLines()
2121 line.colors[0] = colors[vtxNdx + 1]; in extractLines()
2122 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
2126 line.colors[0] = colors[vtxNdx + 0]; in extractLines()
2127 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
2137 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractLines() local
2140 line.positions[0] = vertices[vtxNdx + 0]; in extractLines()
2141 line.positions[1] = vertices[vtxNdx + 1]; in extractLines()
2145 line.colors[0] = colors[vtxNdx + 1]; in extractLines()
2146 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
2150 line.colors[0] = colors[vtxNdx + 0]; in extractLines()
2151 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
2161 for (int vtxNdx = 0; vtxNdx < (int)vertices.size(); ++vtxNdx) in extractLines() local
2164 line.positions[0] = vertices[(vtxNdx + 0) % (int)vertices.size()]; in extractLines()
2165 line.positions[1] = vertices[(vtxNdx + 1) % (int)vertices.size()]; in extractLines()
2169 line.colors[0] = colors[(vtxNdx + 1) % (int)vertices.size()]; in extractLines()
2170 line.colors[1] = colors[(vtxNdx + 1) % (int)vertices.size()]; in extractLines()
2174 line.colors[0] = colors[(vtxNdx + 0) % (int)vertices.size()]; in extractLines()
2175 line.colors[1] = colors[(vtxNdx + 1) % (int)vertices.size()]; in extractLines()