Lines Matching refs:spec
98 MultiVertexArrayTest::Spec spec; in init() local
99 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
100 spec.drawCount = counts[countNdx]; in init()
101 spec.first = 0; in init()
102 spec.arrays.push_back(arraySpec); in init()
105 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init()
203 MultiVertexArrayTest::Spec spec; in init() local
204 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
205 spec.drawCount = counts[countNdx]; in init()
206 spec.first = 0; in init()
207 spec.arrays.push_back(arraySpec); in init()
210 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init()
306 MultiVertexArrayTest::Spec spec; in init() local
307 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
308 spec.drawCount = counts[countNdx]; in init()
309 spec.first = firsts[firstNdx]; in init()
310 spec.arrays.push_back(arraySpec); in init()
313 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init()
407 MultiVertexArrayTest::Spec spec; in init() local
408 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
409 spec.drawCount = counts[countNdx]; in init()
410 spec.first = 0; in init()
411 spec.arrays.push_back(arraySpec); in init()
414 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init()
501 MultiVertexArrayTest::Spec spec; in init() local
502 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
503 spec.drawCount = counts[countNdx]; in init()
504 spec.first = 0; in init()
505 spec.arrays.push_back(arraySpec); in init()
507 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init()
617 MultiVertexArrayTest::Spec spec; in init() local
618 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
619 spec.drawCount = counts[countNdx]; in init()
620 spec.first = 0; in init()
621 spec.arrays.push_back(arraySpec); in init()
623 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init()
708 std::string getTestName (const MultiVertexArrayTest::Spec& spec);
720 std::string MultiVertexArrayCountTests::getTestName (const MultiVertexArrayTest::Spec& spec) in getTestName() argument
724 << spec.arrays.size(); in getTestName()
736 MultiVertexArrayTest::Spec spec; in init() local
738 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
739 spec.drawCount = 256; in init()
740 spec.first = 0; in init()
755 spec.arrays.push_back(arraySpec); in init()
758 std::string name = getTestName(spec); in init()
759 std::string desc = getTestName(spec); in init()
761 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), des… in init()
777 void addStorageCases (MultiVertexArrayTest::Spec spec, int depth);
778 std::string getTestName (const MultiVertexArrayTest::Spec& spec);
790 std::string MultiVertexArrayStorageTests::getTestName (const MultiVertexArrayTest::Spec& spec) in getTestName() argument
794 << spec.arrays.size(); in getTestName()
796 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
800 << Array::storageToString(spec.arrays[arrayNdx].storage); in getTestName()
806 void MultiVertexArrayStorageTests::addStorageCases (MultiVertexArrayTest::Spec spec, int depth) in addStorageCases() argument
812 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in addStorageCases()
814 if (spec.arrays[arrayNdx].storage != Array::STORAGE_USER) in addStorageCases()
824 std::string name = getTestName(spec); in addStorageCases()
825 std::string desc = getTestName(spec); in addStorageCases()
827 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), des… in addStorageCases()
845 MultiVertexArrayTest::Spec _spec = spec; in addStorageCases()
857 MultiVertexArrayTest::Spec spec; in init() local
859 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
860 spec.drawCount = 256; in init()
861 spec.first = 0; in init()
864 addStorageCases(spec, arrayCounts[arrayCountNdx]); in init()
879 void addStrideCases (MultiVertexArrayTest::Spec spec, int depth);
880 std::string getTestName (const MultiVertexArrayTest::Spec& spec);
892 std::string MultiVertexArrayStrideTests::getTestName (const MultiVertexArrayTest::Spec& spec) in getTestName() argument
897 << spec.arrays.size(); in getTestName()
899 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
903 << Array::inputTypeToString(spec.arrays[arrayNdx].inputType) in getTestName()
904 << spec.arrays[arrayNdx].componentCount << "_" in getTestName()
905 << spec.arrays[arrayNdx].stride; in getTestName()
916 MultiVertexArrayTest::Spec spec; in init() local
918 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
919 spec.drawCount = 256; in init()
920 spec.first = 0; in init()
923 addStrideCases(spec, arrayCounts[arrayCountNdx]); in init()
926 void MultiVertexArrayStrideTests::addStrideCases (MultiVertexArrayTest::Spec spec, int depth) in addStrideCases() argument
930 std::string name = getTestName(spec); in addStrideCases()
931 std::string desc = getTestName(spec); in addStrideCases()
932 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), des… in addStrideCases()
952 MultiVertexArrayTest::Spec _spec = spec; in addStrideCases()
970 void addInputTypeCases (MultiVertexArrayTest::Spec spec, int depth);
971 std::string getTestName (const MultiVertexArrayTest::Spec& spec);
983 std::string MultiVertexArrayOutputTests::getTestName (const MultiVertexArrayTest::Spec& spec) in getTestName() argument
988 << spec.arrays.size(); in getTestName()
990 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
994 << Array::inputTypeToString(spec.arrays[arrayNdx].inputType) in getTestName()
995 << spec.arrays[arrayNdx].componentCount << "_" in getTestName()
996 << Array::outputTypeToString(spec.arrays[arrayNdx].outputType); in getTestName()
1007 MultiVertexArrayTest::Spec spec; in init() local
1009 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
1010 spec.drawCount = 256; in init()
1011 spec.first = 0; in init()
1014 addInputTypeCases(spec, arrayCounts[arrayCountNdx]); in init()
1017 void MultiVertexArrayOutputTests::addInputTypeCases (MultiVertexArrayTest::Spec spec, int depth) in addInputTypeCases() argument
1021 std::string name = getTestName(spec); in addInputTypeCases()
1022 std::string desc = getTestName(spec); in addInputTypeCases()
1023 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), des… in addInputTypeCases()
1041 MultiVertexArrayTest::Spec _spec = spec; in addInputTypeCases()