Home
last modified time | relevance | path

Searched refs:typeSpecifier (Results 1 – 6 of 6) sorted by relevance

/external/angle/src/compiler/translator/
DParseContext.cpp2230 void TParseContext::addFullySpecifiedType(TPublicType *typeSpecifier) in addFullySpecifiedType() argument
2232 checkPrecisionSpecified(typeSpecifier->getLine(), typeSpecifier->precision, in addFullySpecifiedType()
2233 typeSpecifier->getBasicType()); in addFullySpecifiedType()
2235 if (mShaderVersion < 300 && typeSpecifier->isArray()) in addFullySpecifiedType()
2237 error(typeSpecifier->getLine(), "not supported", "first-class array"); in addFullySpecifiedType()
2238 typeSpecifier->clearArrayness(); in addFullySpecifiedType()
2243 const TPublicType &typeSpecifier) in addFullySpecifiedType() argument
2247 TPublicType returnType = typeSpecifier; in addFullySpecifiedType()
2253 returnType.precision = typeSpecifier.precision; in addFullySpecifiedType()
2260 checkPrecisionSpecified(typeSpecifier.getLine(), returnType.precision, in addFullySpecifiedType()
[all …]
DParseContext.h228 void addFullySpecifiedType(TPublicType *typeSpecifier);
230 const TPublicType &typeSpecifier);
346 TPublicType *typeSpecifier,
348 TFieldList *addStructDeclaratorList(const TPublicType &typeSpecifier,
DTypes.cpp848 void TPublicType::initialize(const TTypeSpecifierNonArray &typeSpecifier, TQualifier q) in initialize() argument
850 typeSpecifierNonArray = typeSpecifier; in initialize()
DTypes.h453 void initialize(const TTypeSpecifierNonArray &typeSpecifier, TQualifier q);
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp1327 …fier qualifier, bool invariant, TLayoutQualifier layoutQualifier, const TPublicType &typeSpecifier) in addFullySpecifiedType() argument
1329 TPublicType returnType = typeSpecifier; in addFullySpecifiedType()
1336 if(typeSpecifier.array) in addFullySpecifiedType()
1338 error(typeSpecifier.line, "not supported", "first-class array"); in addFullySpecifiedType()
1342 if(qualifier == EvqAttribute && (typeSpecifier.type == EbtBool || typeSpecifier.type == EbtInt)) in addFullySpecifiedType()
1344 error(typeSpecifier.line, "cannot be bool or int", getQualifierString(qualifier)); in addFullySpecifiedType()
1349 (typeSpecifier.type == EbtBool || typeSpecifier.type == EbtInt)) in addFullySpecifiedType()
1351 error(typeSpecifier.line, "cannot be bool or int", getQualifierString(qualifier)); in addFullySpecifiedType()
1359 globalErrorCheck(typeSpecifier.line, symbolTable.atGlobalLevel(), "layout"); in addFullySpecifiedType()
1364 checkInputOutputTypeIsValidES3(returnType.qualifier, typeSpecifier, typeSpecifier.line); in addFullySpecifiedType()
[all …]
DParseHelper.h160 …ier qualifier, bool invariant, TLayoutQualifier layoutQualifier, const TPublicType &typeSpecifier);
205 TFieldList *addStructDeclaratorList(const TPublicType &typeSpecifier, TFieldList *fieldList);