• Home
  • Raw
  • Download

Lines Matching refs:vtxNdx

960 	for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)  in generateTriangles()  local
964 << "\t" << outData[vtxNdx] in generateTriangles()
1029 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
1033 << "\t" << outData[vtxNdx] in generateTriangles()
1159 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1163 << "\t" << outData[vtxNdx] in generateLines()
1222 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
1226 << "\t" << outData[vtxNdx] in generateLines()
1584 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateVertices() local
1586 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1587 outData[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1588 outData[vtxNdx].z() = 0.0f; in generateVertices()
1589 outData[vtxNdx].w() = 1.0f; in generateVertices()
1605 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3) in extractTriangles() local
1607 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1608 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1609 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1626 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx) in extractTriangles() local
1628 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
1629 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
1630 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
1632 if (triangleOrder(v0, v1, v2) != (cullDirection ^ (vtxNdx % 2 != 0))) in extractTriangles()
1647 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractTriangles() local
1650 const tcu::Vec4& v1 = vertices[vtxNdx + 0]; in extractTriangles()
1651 const tcu::Vec4& v2 = vertices[vtxNdx + 1]; in extractTriangles()
1732 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx) in iterate() local
1733 …tLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNd… in iterate()
1785 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx) in generateVertices() local
1787 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1788 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
1789 outVertices[vtxNdx].z() = 0.0f; in generateVertices()
1792 outVertices[vtxNdx].w() = 1.0f; in generateVertices()
1797 outVertices[vtxNdx].x() *= w; in generateVertices()
1798 outVertices[vtxNdx].y() *= w; in generateVertices()
1799 outVertices[vtxNdx].z() *= w; in generateVertices()
1800 outVertices[vtxNdx].w() = w; in generateVertices()
1803 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
1813 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3) in extractTriangles() local
1816 tri.positions[0] = vertices[vtxNdx + 0]; in extractTriangles()
1817 tri.positions[1] = vertices[vtxNdx + 1]; in extractTriangles()
1818 tri.positions[2] = vertices[vtxNdx + 2]; in extractTriangles()
1825 tri.colors[0] = colors[vtxNdx + 2]; in extractTriangles()
1826 tri.colors[1] = colors[vtxNdx + 2]; in extractTriangles()
1827 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
1831 tri.colors[0] = colors[vtxNdx + 0]; in extractTriangles()
1832 tri.colors[1] = colors[vtxNdx + 1]; in extractTriangles()
1833 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
1843 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx) in extractTriangles() local
1846 tri.positions[0] = vertices[vtxNdx + 0]; in extractTriangles()
1847 tri.positions[1] = vertices[vtxNdx + 1]; in extractTriangles()
1848 tri.positions[2] = vertices[vtxNdx + 2]; in extractTriangles()
1855 tri.colors[0] = colors[vtxNdx + 2]; in extractTriangles()
1856 tri.colors[1] = colors[vtxNdx + 2]; in extractTriangles()
1857 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
1861 tri.colors[0] = colors[vtxNdx + 0]; in extractTriangles()
1862 tri.colors[1] = colors[vtxNdx + 1]; in extractTriangles()
1863 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
1873 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractTriangles() local
1877 tri.positions[1] = vertices[vtxNdx + 0]; in extractTriangles()
1878 tri.positions[2] = vertices[vtxNdx + 1]; in extractTriangles()
1885 tri.colors[0] = colors[vtxNdx + 1]; in extractTriangles()
1886 tri.colors[1] = colors[vtxNdx + 1]; in extractTriangles()
1887 tri.colors[2] = colors[vtxNdx + 1]; in extractTriangles()
1892 tri.colors[1] = colors[vtxNdx + 0]; in extractTriangles()
1893 tri.colors[2] = colors[vtxNdx + 1]; in extractTriangles()
2001 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx) in iterate() local
2002 …tLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNd… in iterate()
2090 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx) in generateVertices() local
2092 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
2093 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
2094 outVertices[vtxNdx].z() = 0.0f; in generateVertices()
2097 outVertices[vtxNdx].w() = 1.0f; in generateVertices()
2102 outVertices[vtxNdx].x() *= w; in generateVertices()
2103 outVertices[vtxNdx].y() *= w; in generateVertices()
2104 outVertices[vtxNdx].z() *= w; in generateVertices()
2105 outVertices[vtxNdx].w() = w; in generateVertices()
2108 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
2118 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; vtxNdx += 2) in extractLines() local
2121 line.positions[0] = vertices[vtxNdx + 0]; in extractLines()
2122 line.positions[1] = vertices[vtxNdx + 1]; in extractLines()
2126 line.colors[0] = colors[vtxNdx + 1]; in extractLines()
2127 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
2131 line.colors[0] = colors[vtxNdx + 0]; in extractLines()
2132 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
2142 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractLines() local
2145 line.positions[0] = vertices[vtxNdx + 0]; in extractLines()
2146 line.positions[1] = vertices[vtxNdx + 1]; in extractLines()
2150 line.colors[0] = colors[vtxNdx + 1]; in extractLines()
2151 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
2155 line.colors[0] = colors[vtxNdx + 0]; in extractLines()
2156 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
2166 for (int vtxNdx = 0; vtxNdx < (int)vertices.size(); ++vtxNdx) in extractLines() local
2169 line.positions[0] = vertices[(vtxNdx + 0) % (int)vertices.size()]; in extractLines()
2170 line.positions[1] = vertices[(vtxNdx + 1) % (int)vertices.size()]; in extractLines()
2174 line.colors[0] = colors[(vtxNdx + 1) % (int)vertices.size()]; in extractLines()
2175 line.colors[1] = colors[(vtxNdx + 1) % (int)vertices.size()]; in extractLines()
2179 line.colors[0] = colors[(vtxNdx + 0) % (int)vertices.size()]; in extractLines()
2180 line.colors[1] = colors[(vtxNdx + 1) % (int)vertices.size()]; in extractLines()