Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.cpp2515 void TParseContext::addFullySpecifiedType(TPublicType *typeSpecifier) in addFullySpecifiedType() argument
2517 checkPrecisionSpecified(typeSpecifier->getLine(), typeSpecifier->precision, in addFullySpecifiedType()
2518 typeSpecifier->getBasicType()); in addFullySpecifiedType()
2520 if (mShaderVersion < 300 && typeSpecifier->isArray()) in addFullySpecifiedType()
2522 error(typeSpecifier->getLine(), "not supported", "first-class array"); in addFullySpecifiedType()
2523 typeSpecifier->clearArrayness(); in addFullySpecifiedType()
2528 const TPublicType &typeSpecifier) in addFullySpecifiedType() argument
2532 TPublicType returnType = typeSpecifier; in addFullySpecifiedType()
2538 returnType.precision = typeSpecifier.precision; in addFullySpecifiedType()
2545 checkPrecisionSpecified(typeSpecifier.getLine(), returnType.precision, in addFullySpecifiedType()
[all …]
DParseContext.h234 void addFullySpecifiedType(TPublicType *typeSpecifier);
236 const TPublicType &typeSpecifier);
352 TPublicType *typeSpecifier,
354 TFieldList *addStructDeclaratorList(const TPublicType &typeSpecifier,
DTypes.cpp914 void TPublicType::initialize(const TTypeSpecifierNonArray &typeSpecifier, TQualifier q) in initialize() argument
916 typeSpecifierNonArray = typeSpecifier; in initialize()
DTypes.h474 void initialize(const TTypeSpecifierNonArray &typeSpecifier, TQualifier q);
/third_party/skia/third_party/externals/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);