• Home
  • Raw
  • Download

Lines Matching refs:vtxNdx

2299 	for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx)  in generateTriangles()  local
2303 << "\t" << outData[vtxNdx] in generateTriangles()
2376 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateTriangles() local
2380 << "\t" << outData[vtxNdx] in generateTriangles()
4775 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateLines() local
4779 << "\t" << outData[vtxNdx] in generateLines()
5202 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateVertices() local
5204 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
5205 outData[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
5206 outData[vtxNdx].z() = 0.0f; in generateVertices()
5207 outData[vtxNdx].w() = 1.0f; in generateVertices()
5223 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3) in extractTriangles() local
5225 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
5226 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
5227 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
5244 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx) in extractTriangles() local
5246 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
5247 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
5248 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
5250 if (triangleOrder(v0, v1, v2) != (cullDirection ^ (vtxNdx % 2 != 0))) in extractTriangles()
5265 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractTriangles() local
5268 const tcu::Vec4& v1 = vertices[vtxNdx + 0]; in extractTriangles()
5269 const tcu::Vec4& v2 = vertices[vtxNdx + 1]; in extractTriangles()
5519 for (int vtxNdx = 0; vtxNdx < (int)outData.size(); ++vtxNdx) in generateVertices() local
5521 outData[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
5522 outData[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
5523 outData[vtxNdx].z() = 0.0f; in generateVertices()
5524 outData[vtxNdx].w() = 1.0f; in generateVertices()
5534 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3) in extractTriangles() local
5537 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
5538 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
5539 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
5553 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx) in extractTriangles() local
5556 const tcu::Vec4& v0 = vertices[vtxNdx + 0]; in extractTriangles()
5557 const tcu::Vec4& v1 = vertices[vtxNdx + 1]; in extractTriangles()
5558 const tcu::Vec4& v2 = vertices[vtxNdx + 2]; in extractTriangles()
5572 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractTriangles() local
5576 const tcu::Vec4& v1 = vertices[vtxNdx + 0]; in extractTriangles()
5577 const tcu::Vec4& v2 = vertices[vtxNdx + 1]; in extractTriangles()
5600 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; vtxNdx += 2) in extractLines() local
5604 line.positions[0] = vertices[vtxNdx + 0]; in extractLines()
5605 line.positions[1] = vertices[vtxNdx + 1]; in extractLines()
5615 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractLines() local
5619 line.positions[0] = vertices[vtxNdx + 0]; in extractLines()
5620 line.positions[1] = vertices[vtxNdx + 1]; in extractLines()
5932 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx) in iterate() local
5933 …tLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNd… in iterate()
5984 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx) in generateVertices() local
5986 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
5987 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
5988 outVertices[vtxNdx].z() = 0.0f; in generateVertices()
5991 outVertices[vtxNdx].w() = 1.0f; in generateVertices()
5996 outVertices[vtxNdx].x() *= w; in generateVertices()
5997 outVertices[vtxNdx].y() *= w; in generateVertices()
5998 outVertices[vtxNdx].z() *= w; in generateVertices()
5999 outVertices[vtxNdx].w() = w; in generateVertices()
6002 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
6012 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; vtxNdx += 3) in extractTriangles() local
6015 tri.positions[0] = vertices[vtxNdx + 0]; in extractTriangles()
6016 tri.positions[1] = vertices[vtxNdx + 1]; in extractTriangles()
6017 tri.positions[2] = vertices[vtxNdx + 2]; in extractTriangles()
6024 tri.colors[0] = colors[vtxNdx]; in extractTriangles()
6025 tri.colors[1] = colors[vtxNdx]; in extractTriangles()
6026 tri.colors[2] = colors[vtxNdx]; in extractTriangles()
6030 tri.colors[0] = colors[vtxNdx + 0]; in extractTriangles()
6031 tri.colors[1] = colors[vtxNdx + 1]; in extractTriangles()
6032 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
6042 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 2; ++vtxNdx) in extractTriangles() local
6045 tri.positions[0] = vertices[vtxNdx + 0]; in extractTriangles()
6046 tri.positions[1] = vertices[vtxNdx + 1]; in extractTriangles()
6047 tri.positions[2] = vertices[vtxNdx + 2]; in extractTriangles()
6054 tri.colors[0] = colors[vtxNdx]; in extractTriangles()
6055 tri.colors[1] = colors[vtxNdx]; in extractTriangles()
6056 tri.colors[2] = colors[vtxNdx]; in extractTriangles()
6060 tri.colors[0] = colors[vtxNdx + 0]; in extractTriangles()
6061 tri.colors[1] = colors[vtxNdx + 1]; in extractTriangles()
6062 tri.colors[2] = colors[vtxNdx + 2]; in extractTriangles()
6072 for (int vtxNdx = 1; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractTriangles() local
6076 tri.positions[1] = vertices[vtxNdx + 0]; in extractTriangles()
6077 tri.positions[2] = vertices[vtxNdx + 1]; in extractTriangles()
6084 tri.colors[0] = colors[vtxNdx]; in extractTriangles()
6085 tri.colors[1] = colors[vtxNdx]; in extractTriangles()
6086 tri.colors[2] = colors[vtxNdx]; in extractTriangles()
6091 tri.colors[1] = colors[vtxNdx + 0]; in extractTriangles()
6092 tri.colors[2] = colors[vtxNdx + 1]; in extractTriangles()
6221 for (int vtxNdx = 0; vtxNdx < (int)drawBuffer.size(); ++vtxNdx) in iterate() local
6222 …tLog() << tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNd… in iterate()
6298 for (int vtxNdx = 0; vtxNdx < (int)outVertices.size(); ++vtxNdx) in generateVertices() local
6300 outVertices[vtxNdx].x() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
6301 outVertices[vtxNdx].y() = rnd.getFloat(-0.9f, 0.9f); in generateVertices()
6302 outVertices[vtxNdx].z() = 0.0f; in generateVertices()
6305 outVertices[vtxNdx].w() = 1.0f; in generateVertices()
6310 outVertices[vtxNdx].x() *= w; in generateVertices()
6311 outVertices[vtxNdx].y() *= w; in generateVertices()
6312 outVertices[vtxNdx].z() *= w; in generateVertices()
6313 outVertices[vtxNdx].w() = w; in generateVertices()
6316 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
6326 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; vtxNdx += 2) in extractLines() local
6329 line.positions[0] = vertices[vtxNdx + 0]; in extractLines()
6330 line.positions[1] = vertices[vtxNdx + 1]; in extractLines()
6334 line.colors[0] = colors[vtxNdx]; in extractLines()
6335 line.colors[1] = colors[vtxNdx]; in extractLines()
6339 line.colors[0] = colors[vtxNdx + 0]; in extractLines()
6340 line.colors[1] = colors[vtxNdx + 1]; in extractLines()
6350 for (int vtxNdx = 0; vtxNdx < (int)vertices.size() - 1; ++vtxNdx) in extractLines() local
6353 line.positions[0] = vertices[vtxNdx + 0]; in extractLines()
6354 line.positions[1] = vertices[vtxNdx + 1]; in extractLines()
6358 line.colors[0] = colors[vtxNdx]; in extractLines()
6359 line.colors[1] = colors[vtxNdx]; in extractLines()
6363 line.colors[0] = colors[vtxNdx + 0]; in extractLines()
6364 line.colors[1] = colors[vtxNdx + 1]; in extractLines()