Lines Matching refs:resourceList
884 …bool verifyResourceList (const std::vector<std::string>& resourceList, const std::vecto…
885 …bool verifyResourceIndexQuery (const std::vector<std::string>& resourceList, const std::v…
950 std::vector<std::string> resourceList; in iterate() local
953 queryResourceList(resourceList, program.getProgram()); in iterate()
958 if (!verifyResourceList(resourceList, expectedResources)) in iterate()
963 if (!verifyResourceIndexQuery(resourceList, expectedResources, program.getProgram())) in iterate()
967 if (!verifyMaxNameLength(resourceList, program.getProgram())) in iterate()
1008 bool ResourceListTestCase::verifyResourceList (const std::vector<std::string>& resourceList, const … in verifyResourceList() argument
1016 for (int ndx = 0; ndx < (int)resourceList.size(); ++ndx) in verifyResourceList()
1021 if (resourceList[ndx] != getDummyZeroUniformName()) in verifyResourceList()
1022 …m_testCtx.getLog() << tcu::TestLog::Message << "\t" << ndx << ": " << resourceList[ndx] << tcu::Te… in verifyResourceList()
1034 if (!de::contains(resourceList.begin(), resourceList.end(), expectedResources[ndx])) in verifyResourceList()
1041 for (int ndx = 0; ndx < (int)resourceList.size(); ++ndx) in verifyResourceList()
1043 if (!de::contains(expectedResources.begin(), expectedResources.end(), resourceList[ndx])) in verifyResourceList()
1048 if (deStringBeginsWith(resourceList[ndx].c_str(), "gl_") == DE_FALSE && in verifyResourceList()
1049 resourceList[ndx] != getDummyZeroUniformName()) in verifyResourceList()
1051 …ssage << "Error, resource list contains unexpected resource name " << resourceList[ndx] << tcu::Te… in verifyResourceList()
1055 …stLog::Message << "Note, resource list contains unknown built-in " << resourceList[ndx] << ". This… in verifyResourceList()
1062 bool ResourceListTestCase::verifyResourceIndexQuery (const std::vector<std::string>& resourceList, … in verifyResourceIndexQuery() argument
1080 else if ((int)index >= (int)resourceList.size()) in verifyResourceIndexQuery()
1085 else if (resourceList[index] != referenceResources[ndx]) in verifyResourceIndexQuery()
1087 … << "\" got index (index = " << index << ") of another resource (" << resourceList[index] << ")." … in verifyResourceIndexQuery()
1109 else if ((int)index >= (int)resourceList.size()) in verifyResourceIndexQuery()
1114 else if (resourceList[index] != queryString + "[0]") in verifyResourceIndexQuery()
1116 …< "\" got index (index = " << index << ") of another resource (\"" << resourceList[index] << "\").… in verifyResourceIndexQuery()
1126 bool ResourceListTestCase::verifyMaxNameLength (const std::vector<std::string>& resourceList, glw::… in verifyMaxNameLength() argument
1136 for (int ndx = 0; ndx < (int)resourceList.size(); ++ndx) in verifyMaxNameLength()
1137 expectedMaxNameLength = de::max(expectedMaxNameLength, (int)resourceList[ndx].size() + 1); in verifyMaxNameLength()
3100 std::vector<std::string> resourceList; in iterate() local
3103 queryResourceList(resourceList, program.getProgram()); in iterate()
3108 if (!verifyResourceList(resourceList, expectedResources)) in iterate()
3113 if (!verifyResourceIndexQuery(resourceList, expectedResources, program.getProgram())) in iterate()
3117 if (!verifyMaxNameLength(resourceList, program.getProgram())) in iterate()