Lines Matching refs:indexTest
518 const IndexTest& indexTest = tests[testNdx];
520 const std::string name = std::string("index_") + gls::DrawTestSpec::indexTypeToString(indexTest.type);
521 const std::string desc = std::string("index ") + gls::DrawTestSpec::indexTypeToString(indexTest.type);
524 spec.indexType = indexTest.type;
526 for (int iterationNdx = 0; iterationNdx < DE_LENGTH_OF_ARRAY(indexTest.offsets) && indexTest.offsets[iterationNdx] != -1; ++iterationNdx)
528 const std::string iterationDesc = std::string("first vertex ") + de::toString(indexTest.offsets[iterationNdx] / gls::DrawTestSpec::indexTypeSize(indexTest.type));
529 spec.indexPointerOffset = indexTest.offsets[iterationNdx];
585 const IndexTest& indexTest = tests[testNdx];
587 const std::string name = std::string("index_") + (indexTest.positiveBase ? "" : "neg_") + gls::DrawTestSpec::indexTypeToString(indexTest.type);
588 const std::string desc = std::string("index ") + gls::DrawTestSpec::indexTypeToString(indexTest.type);
591 spec.indexType = indexTest.type;
593 for (int iterationNdx = 0; iterationNdx < DE_LENGTH_OF_ARRAY(indexTest.baseVertex); ++iterationNdx)
595 const std::string iterationDesc = std::string("base vertex ") + de::toString(indexTest.baseVertex[iterationNdx]);
596 spec.baseVertex = indexTest.baseVertex[iterationNdx];