Lines Matching refs:spec
99 MultiVertexArrayTest::Spec spec; in init() local
100 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
101 spec.drawCount = counts[countNdx]; in init()
102 spec.first = 0; in init()
103 spec.arrays.push_back(arraySpec); in init()
105 std::string name = spec.getName(); in init()
108 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init()
169 MultiVertexArrayTest::Spec spec; in init() local
170 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
171 spec.drawCount = counts[countNdx]; in init()
172 spec.first = 0; in init()
173 spec.arrays.push_back(arraySpec); in init()
175 std::string name = spec.getName(); in init()
177 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init()
240 MultiVertexArrayTest::Spec spec; in init() local
241 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
242 spec.drawCount = counts[countNdx]; in init()
243 spec.first = firsts[firstNdx]; in init()
244 spec.arrays.push_back(arraySpec); in init()
248 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init()
308 MultiVertexArrayTest::Spec spec; in init() local
309 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
310 spec.drawCount = counts[countNdx]; in init()
311 spec.first = 0; in init()
312 spec.arrays.push_back(arraySpec); in init()
314 std::string name = spec.getName(); in init()
316 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init()
371 MultiVertexArrayTest::Spec spec; in init() local
372 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
373 spec.drawCount = counts[countNdx]; in init()
374 spec.first = 0; in init()
375 spec.arrays.push_back(arraySpec); in init()
377 std::string name = spec.getName(); in init()
378 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init()
436 MultiVertexArrayTest::Spec spec; in init() local
437 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
438 spec.drawCount = counts[countNdx]; in init()
439 spec.first = 0; in init()
440 spec.arrays.push_back(arraySpec); in init()
442 std::string name = spec.getName(); in init()
443 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init()
495 std::string getTestName (const MultiVertexArrayTest::Spec& spec);
507 std::string MultiVertexArrayCountTests::getTestName (const MultiVertexArrayTest::Spec& spec) in getTestName() argument
511 << spec.arrays.size(); in getTestName()
523 MultiVertexArrayTest::Spec spec; in init() local
525 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
526 spec.drawCount = 256; in init()
527 spec.first = 0; in init()
542 spec.arrays.push_back(arraySpec); in init()
545 std::string name = getTestName(spec); in init()
546 std::string desc = getTestName(spec); in init()
548 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), des… in init()
564 void addStorageCases (MultiVertexArrayTest::Spec spec, int depth);
565 std::string getTestName (const MultiVertexArrayTest::Spec& spec);
577 std::string MultiVertexArrayStorageTests::getTestName (const MultiVertexArrayTest::Spec& spec) in getTestName() argument
581 << spec.arrays.size(); in getTestName()
583 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
587 << Array::storageToString(spec.arrays[arrayNdx].storage); in getTestName()
593 void MultiVertexArrayStorageTests::addStorageCases (MultiVertexArrayTest::Spec spec, int depth) in addStorageCases() argument
599 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in addStorageCases()
601 if (spec.arrays[arrayNdx].storage != Array::STORAGE_USER) in addStorageCases()
611 std::string name = getTestName(spec); in addStorageCases()
612 std::string desc = getTestName(spec); in addStorageCases()
614 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), des… in addStorageCases()
632 MultiVertexArrayTest::Spec _spec = spec; in addStorageCases()
644 MultiVertexArrayTest::Spec spec; in init() local
646 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
647 spec.drawCount = 256; in init()
648 spec.first = 0; in init()
651 addStorageCases(spec, arrayCounts[arrayCountNdx]); in init()
666 void addStrideCases (MultiVertexArrayTest::Spec spec, int depth);
667 std::string getTestName (const MultiVertexArrayTest::Spec& spec);
679 std::string MultiVertexArrayStrideTests::getTestName (const MultiVertexArrayTest::Spec& spec) in getTestName() argument
684 << spec.arrays.size(); in getTestName()
686 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
690 << Array::inputTypeToString(spec.arrays[arrayNdx].inputType) in getTestName()
691 << spec.arrays[arrayNdx].componentCount << "_" in getTestName()
692 << spec.arrays[arrayNdx].stride; in getTestName()
703 MultiVertexArrayTest::Spec spec; in init() local
705 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
706 spec.drawCount = 256; in init()
707 spec.first = 0; in init()
710 addStrideCases(spec, arrayCounts[arrayCountNdx]); in init()
713 void MultiVertexArrayStrideTests::addStrideCases (MultiVertexArrayTest::Spec spec, int depth) in addStrideCases() argument
717 std::string name = getTestName(spec); in addStrideCases()
718 std::string desc = getTestName(spec); in addStrideCases()
719 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), des… in addStrideCases()
739 MultiVertexArrayTest::Spec _spec = spec; in addStrideCases()
757 void addInputTypeCases (MultiVertexArrayTest::Spec spec, int depth);
758 std::string getTestName (const MultiVertexArrayTest::Spec& spec);
770 std::string MultiVertexArrayOutputTests::getTestName (const MultiVertexArrayTest::Spec& spec) in getTestName() argument
775 << spec.arrays.size(); in getTestName()
777 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
781 << Array::inputTypeToString(spec.arrays[arrayNdx].inputType) in getTestName()
782 << spec.arrays[arrayNdx].componentCount << "_" in getTestName()
783 << Array::outputTypeToString(spec.arrays[arrayNdx].outputType); in getTestName()
794 MultiVertexArrayTest::Spec spec; in init() local
796 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
797 spec.drawCount = 256; in init()
798 spec.first = 0; in init()
801 addInputTypeCases(spec, arrayCounts[arrayCountNdx]); in init()
804 void MultiVertexArrayOutputTests::addInputTypeCases (MultiVertexArrayTest::Spec spec, int depth) in addInputTypeCases() argument
808 std::string name = getTestName(spec); in addInputTypeCases()
809 std::string desc = getTestName(spec); in addInputTypeCases()
810 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), des… in addInputTypeCases()
828 MultiVertexArrayTest::Spec _spec = spec; in addInputTypeCases()