Searched refs:origSrc (Results 1 – 1 of 1) sorted by relevance
377 std::string origSrc(src); in translate() local379 size_t versionStart = origSrc.find("#version"); in translate()380 size_t versionEnd = origSrc.find("\n", versionStart); in translate()381 size_t extensionStart = origSrc.rfind("#extension"); in translate()382 size_t extensionEnd = origSrc.find("\n", extensionStart); in translate()384 std::string versionPart = origSrc.substr(versionStart, versionEnd - versionStart + 1); in translate()387 origSrc.substr(versionEnd + 1, origSrc.size() - (versionEnd + 1)); in translate()390 std::string uptoExtensionPart = origSrc.substr(0, extensionEnd + 1); in translate()393 origSrc.substr(extensionEnd + 1, origSrc.size() - (extensionEnd + 1)); in translate()