Lines Matching refs:vtxNdx
677 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)
681 << "\t" << outData[vtxNdx]
746 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)
750 << "\t" << outData[vtxNdx]
876 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)
880 << "\t" << outData[vtxNdx]
939 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)
943 << "\t" << outData[vtxNdx]
1301 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)
1303 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f);
1304 outData[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f);
1305 outData[vtxNdx].z() = 0.0f;
1306 outData[vtxNdx].w() = 1.0f;
1322 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3)
1324 const tcu::Vec4& v0 = vertices[vtxNdx + 0];
1325 const tcu::Vec4& v1 = vertices[vtxNdx + 1];
1326 const tcu::Vec4& v2 = vertices[vtxNdx + 2];
1343 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx)
1345 const tcu::Vec4& v0 = vertices[vtxNdx + 0];
1346 const tcu::Vec4& v1 = vertices[vtxNdx + 1];
1347 const tcu::Vec4& v2 = vertices[vtxNdx + 2];
1349 if (triangleOrder(v0, v1, v2) != (cullDirection ^ (vtxNdx % 2 != 0)))
1364 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx)
1367 const tcu::Vec4& v1 = vertices[vtxNdx + 0];
1368 const tcu::Vec4& v2 = vertices[vtxNdx + 1];
1448 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx)
1449 m_testCtx.getLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNdx] << tcu::TestLog::EndMessage;
1501 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx)
1503 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f);
1504 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f);
1505 outVertices[vtxNdx].z() = 0.0f;
1508 outVertices[vtxNdx].w() = 1.0f;
1513 outVertices[vtxNdx].x() *= w;
1514 outVertices[vtxNdx].y() *= w;
1515 outVertices[vtxNdx].z() *= w;
1516 outVertices[vtxNdx].w() = w;
1519 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)];
1529 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3)
1532 tri.positions[0] = vertices[vtxNdx + 0];
1533 tri.positions[1] = vertices[vtxNdx + 1];
1534 tri.positions[2] = vertices[vtxNdx + 2];
1539 tri.colors[0] = colors[vtxNdx + 0];
1540 tri.colors[1] = colors[vtxNdx + 1];
1541 tri.colors[2] = colors[vtxNdx + 2];
1550 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx)
1553 tri.positions[0] = vertices[vtxNdx + 0];
1554 tri.positions[1] = vertices[vtxNdx + 1];
1555 tri.positions[2] = vertices[vtxNdx + 2];
1560 tri.colors[0] = colors[vtxNdx + 0];
1561 tri.colors[1] = colors[vtxNdx + 1];
1562 tri.colors[2] = colors[vtxNdx + 2];
1571 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx)
1575 tri.positions[1] = vertices[vtxNdx + 0];
1576 tri.positions[2] = vertices[vtxNdx + 1];
1582 tri.colors[1] = colors[vtxNdx + 0];
1583 tri.colors[2] = colors[vtxNdx + 1];
1645 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx)
1646 m_testCtx.getLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNdx] << tcu::TestLog::EndMessage;
1728 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx)
1730 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f);
1731 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f);
1732 outVertices[vtxNdx].z() = 0.0f;
1735 outVertices[vtxNdx].w() = 1.0f;
1740 outVertices[vtxNdx].x() *= w;
1741 outVertices[vtxNdx].y() *= w;
1742 outVertices[vtxNdx].z() *= w;
1743 outVertices[vtxNdx].w() = w;
1746 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)];
1756 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; vtxNdx += 2)
1759 line.positions[0] = vertices[vtxNdx + 0];
1760 line.positions[1] = vertices[vtxNdx + 1];
1762 line.colors[0] = colors[vtxNdx + 0];
1763 line.colors[1] = colors[vtxNdx + 1];
1772 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; ++vtxNdx)
1775 line.positions[0] = vertices[vtxNdx + 0];
1776 line.positions[1] = vertices[vtxNdx + 1];
1778 line.colors[0] = colors[vtxNdx + 0];
1779 line.colors[1] = colors[vtxNdx + 1];
1788 for (int vtxNdx = 0; vtxNdx < (int)vertices.size(); ++vtxNdx)
1791 line.positions[0] = vertices[(vtxNdx + 0) % (int)vertices.size()];
1792 line.positions[1] = vertices[(vtxNdx + 1) % (int)vertices.size()];
1794 line.colors[0] = colors[(vtxNdx + 0) % (int)vertices.size()];
1795 line.colors[1] = colors[(vtxNdx + 1) % (int)vertices.size()];