// If only one stage supports a feature, this can be called. But, all supporting stages // must be specified with one call. void TParseVersions::requireStage(const TSourceLoc& loc, EShLanguage stage, const char* featureDesc) { requireStage(loc, static_cast<EShLanguageMask>(1 << stage), featureDesc); }
// If only one stage supports a feature, this can be called. But, all supporting stages // must be specified with one call. void TParseContext::requireStage(TSourceLoc loc, EShLanguage stage, const char* featureDesc) { requireStage(loc, static_cast<EShLanguageMask>(1 << stage), featureDesc); }