Lines Matching refs:indexTest
521 const IndexTest& indexTest = tests[testNdx];
523 const std::string name = std::string("index_") + gls::DrawTestSpec::indexTypeToString(indexTest.type);
524 const std::string desc = std::string("index ") + gls::DrawTestSpec::indexTypeToString(indexTest.type);
527 spec.indexType = indexTest.type;
529 for (int iterationNdx = 0; iterationNdx < DE_LENGTH_OF_ARRAY(indexTest.offsets) && indexTest.offsets[iterationNdx] != -1; ++iterationNdx)
531 const std::string iterationDesc = std::string("first vertex ") + de::toString(indexTest.offsets[iterationNdx] / gls::DrawTestSpec::indexTypeSize(indexTest.type));
532 spec.indexPointerOffset = indexTest.offsets[iterationNdx];
589 const IndexTest& indexTest = tests[testNdx];
591 const std::string name = std::string("index_") + (indexTest.positiveBase ? "" : "neg_") + gls::DrawTestSpec::indexTypeToString(indexTest.type);
592 const std::string desc = std::string("index ") + gls::DrawTestSpec::indexTypeToString(indexTest.type);
595 spec.indexType = indexTest.type;
597 for (int iterationNdx = 0; iterationNdx < DE_LENGTH_OF_ARRAY(indexTest.baseVertex); ++iterationNdx)
599 const std::string iterationDesc = std::string("base vertex ") + de::toString(indexTest.baseVertex[iterationNdx]);
600 spec.baseVertex = indexTest.baseVertex[iterationNdx];