Lines Matching refs:vtxNdx
2552 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)
2556 << "\t" << outData[vtxNdx]
2629 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)
2633 << "\t" << outData[vtxNdx]
5025 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)
5029 << "\t" << outData[vtxNdx]
5452 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)
5454 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f);
5455 outData[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f);
5456 outData[vtxNdx].z() = 0.0f;
5457 outData[vtxNdx].w() = 1.0f;
5473 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3)
5475 const tcu::Vec4& v0 = vertices[vtxNdx + 0];
5476 const tcu::Vec4& v1 = vertices[vtxNdx + 1];
5477 const tcu::Vec4& v2 = vertices[vtxNdx + 2];
5494 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx)
5496 const tcu::Vec4& v0 = vertices[vtxNdx + 0];
5497 const tcu::Vec4& v1 = vertices[vtxNdx + 1];
5498 const tcu::Vec4& v2 = vertices[vtxNdx + 2];
5500 if (triangleOrder(v0, v1, v2) != (cullDirection ^ (vtxNdx % 2 != 0)))
5515 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx)
5518 const tcu::Vec4& v1 = vertices[vtxNdx + 0];
5519 const tcu::Vec4& v2 = vertices[vtxNdx + 1];
5769 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)
5771 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f);
5772 outData[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f);
5773 outData[vtxNdx].z() = 0.0f;
5774 outData[vtxNdx].w() = 1.0f;
5784 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3)
5787 const tcu::Vec4& v0 = vertices[vtxNdx + 0];
5788 const tcu::Vec4& v1 = vertices[vtxNdx + 1];
5789 const tcu::Vec4& v2 = vertices[vtxNdx + 2];
5803 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx)
5806 const tcu::Vec4& v0 = vertices[vtxNdx + 0];
5807 const tcu::Vec4& v1 = vertices[vtxNdx + 1];
5808 const tcu::Vec4& v2 = vertices[vtxNdx + 2];
5822 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx)
5826 const tcu::Vec4& v1 = vertices[vtxNdx + 0];
5827 const tcu::Vec4& v2 = vertices[vtxNdx + 1];
5850 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; vtxNdx += 2)
5854 line.positions[0] = vertices[vtxNdx + 0];
5855 line.positions[1] = vertices[vtxNdx + 1];
5865 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; ++vtxNdx)
5869 line.positions[0] = vertices[vtxNdx + 0];
5870 line.positions[1] = vertices[vtxNdx + 1];
6185 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx)
6186 m_context.getTestContext().getLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNdx] << tcu::TestLog::EndMessage;
6237 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx)
6239 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f);
6240 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f);
6241 outVertices[vtxNdx].z() = 0.0f;
6244 outVertices[vtxNdx].w() = 1.0f;
6249 outVertices[vtxNdx].x() *= w;
6250 outVertices[vtxNdx].y() *= w;
6251 outVertices[vtxNdx].z() *= w;
6252 outVertices[vtxNdx].w() = w;
6255 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)];
6265 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3)
6268 tri.positions[0] = vertices[vtxNdx + 0];
6269 tri.positions[1] = vertices[vtxNdx + 1];
6270 tri.positions[2] = vertices[vtxNdx + 2];
6277 tri.colors[0] = colors[vtxNdx];
6278 tri.colors[1] = colors[vtxNdx];
6279 tri.colors[2] = colors[vtxNdx];
6283 tri.colors[0] = colors[vtxNdx + 0];
6284 tri.colors[1] = colors[vtxNdx + 1];
6285 tri.colors[2] = colors[vtxNdx + 2];
6295 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx)
6298 tri.positions[0] = vertices[vtxNdx + 0];
6299 tri.positions[1] = vertices[vtxNdx + 1];
6300 tri.positions[2] = vertices[vtxNdx + 2];
6307 tri.colors[0] = colors[vtxNdx];
6308 tri.colors[1] = colors[vtxNdx];
6309 tri.colors[2] = colors[vtxNdx];
6313 tri.colors[0] = colors[vtxNdx + 0];
6314 tri.colors[1] = colors[vtxNdx + 1];
6315 tri.colors[2] = colors[vtxNdx + 2];
6325 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx)
6329 tri.positions[1] = vertices[vtxNdx + 0];
6330 tri.positions[2] = vertices[vtxNdx + 1];
6337 tri.colors[0] = colors[vtxNdx];
6338 tri.colors[1] = colors[vtxNdx];
6339 tri.colors[2] = colors[vtxNdx];
6344 tri.colors[1] = colors[vtxNdx + 0];
6345 tri.colors[2] = colors[vtxNdx + 1];
6474 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx)
6475 m_context.getTestContext().getLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNdx] << tcu::TestLog::EndMessage;
6551 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx)
6553 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f);
6554 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f);
6555 outVertices[vtxNdx].z() = 0.0f;
6558 outVertices[vtxNdx].w() = 1.0f;
6563 outVertices[vtxNdx].x() *= w;
6564 outVertices[vtxNdx].y() *= w;
6565 outVertices[vtxNdx].z() *= w;
6566 outVertices[vtxNdx].w() = w;
6569 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)];
6579 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; vtxNdx += 2)
6582 line.positions[0] = vertices[vtxNdx + 0];
6583 line.positions[1] = vertices[vtxNdx + 1];
6587 line.colors[0] = colors[vtxNdx];
6588 line.colors[1] = colors[vtxNdx];
6592 line.colors[0] = colors[vtxNdx + 0];
6593 line.colors[1] = colors[vtxNdx + 1];
6603 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; ++vtxNdx)
6606 line.positions[0] = vertices[vtxNdx + 0];
6607 line.positions[1] = vertices[vtxNdx + 1];
6611 line.colors[0] = colors[vtxNdx];
6612 line.colors[1] = colors[vtxNdx];
6616 line.colors[0] = colors[vtxNdx + 0];
6617 line.colors[1] = colors[vtxNdx + 1];