Home
last modified time | relevance | path

Searched refs:builtIn (Results 1 – 25 of 39) sorted by relevance

12

/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DparseVersions.h113 void int64Check(const TSourceLoc&, const char* op, bool builtIn = false) { }
114 void explicitFloat32Check(const TSourceLoc&, const char* op, bool builtIn = false) { }
115 void explicitFloat64Check(const TSourceLoc&, const char* op, bool builtIn = false) { }
153 virtual void float16Check(const TSourceLoc&, const char* op, bool builtIn = false);
154 virtual void float16ScalarVectorCheck(const TSourceLoc&, const char* op, bool builtIn = false);
157 virtual void int16ScalarVectorCheck(const TSourceLoc&, const char* op, bool builtIn = false);
160 virtual void int8ScalarVectorCheck(const TSourceLoc&, const char* op, bool builtIn = false);
163 virtual void float16OpaqueCheck(const TSourceLoc&, const char* op, bool builtIn = false);
164 virtual void int64Check(const TSourceLoc&, const char* op, bool builtIn = false);
165 virtual void explicitInt8Check(const TSourceLoc&, const char* op, bool builtIn = false);
[all …]
DVersions.cpp1090 void TParseVersions::float16Check(const TSourceLoc& loc, const char* op, bool builtIn) in float16Check() argument
1092 if (!builtIn) { in float16Check()
1168 void TParseVersions::float16ScalarVectorCheck(const TSourceLoc& loc, const char* op, bool builtIn) in float16ScalarVectorCheck() argument
1170 if (!builtIn) { in float16ScalarVectorCheck()
1181 void TParseVersions::explicitFloat32Check(const TSourceLoc& loc, const char* op, bool builtIn) in explicitFloat32Check() argument
1183 if (!builtIn) { in explicitFloat32Check()
1191 void TParseVersions::explicitFloat64Check(const TSourceLoc& loc, const char* op, bool builtIn) in explicitFloat64Check() argument
1193 if (!builtIn) { in explicitFloat64Check()
1203 void TParseVersions::explicitInt8Check(const TSourceLoc& loc, const char* op, bool builtIn) in explicitInt8Check() argument
1205 if (! builtIn) { in explicitInt8Check()
[all …]
DSymbolTable.h255 declaredBuiltIn = retType.getQualifier().builtIn; in TSymbol()
766 … TSymbol* find(const TString& name, bool* builtIn = 0, bool* currentScope = 0, int* thisDepthP = 0)
778 if (builtIn)
779 *builtIn = isBuiltInLevel(level);
829 void findFunctionNameList(const TString& name, TVector<const TFunction*>& list, bool& builtIn) in findFunctionNameList() argument
832 builtIn = false; in findFunctionNameList()
843 builtIn = true; in findFunctionNameList()
DParseHelper.cpp567 if (base->getQualifier().isPerView() && base->getQualifier().builtIn != EbvNone) { in handleBracketDereference()
794 if (qualifier.builtIn == EbvPrimitiveIndicesNV) { in getIoArrayImplicitSize()
1091 bool builtIn; in handleFunctionDeclarator() local
1092 TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn); in handleFunctionDeclarator()
1093 if (symbol && symbol->getAsFunction() && builtIn) in handleFunctionDeclarator()
1105 if (symbol && builtIn && function.getBuiltInOp() == EOpSpirvInst) in handleFunctionDeclarator()
1137 if (prevDec && ! builtIn) in handleFunctionDeclarator()
1289 bool builtIn; in handleFunctionCall() local
1290 fnCandidate = findFunction(loc, *function, builtIn); in handleFunctionCall()
1298 if (builtIn && fnCandidate->getNumExtensions()) in handleFunctionCall()
[all …]
DParseHelper.h434 const TFunction* findFunction(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
435 const TFunction* findFunctionExact(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
436 const TFunction* findFunction120(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
437 const TFunction* findFunction400(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
438 … TFunction* findFunctionExplicitTypes(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
DParseContextBase.cpp332 bool builtIn; in getEditableVariable() local
333 TSymbol* symbol = symbolTable.find(name, &builtIn); in getEditableVariable()
339 if (builtIn) in getEditableVariable()
DlinkValidate.cpp397 if (qualifier.builtIn != EbvNone) { in visitSymbol()
423 if (qualifier.builtIn == EbvNone) { in visitSymbol()
461 if (qualifier.isLinkable() || qualifier.builtIn != EbvNone) { in visitSymbol()
1364 if (qualifier.storage == EvqVaryingOut && qualifier.builtIn == EbvNone) { in inOutLocationCheck()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DparseVersions.h113 void int64Check(const TSourceLoc&, const char* op, bool builtIn = false) { }
114 void explicitFloat32Check(const TSourceLoc&, const char* op, bool builtIn = false) { }
115 void explicitFloat64Check(const TSourceLoc&, const char* op, bool builtIn = false) { }
153 virtual void float16Check(const TSourceLoc&, const char* op, bool builtIn = false);
154 virtual void float16ScalarVectorCheck(const TSourceLoc&, const char* op, bool builtIn = false);
157 virtual void int16ScalarVectorCheck(const TSourceLoc&, const char* op, bool builtIn = false);
160 virtual void int8ScalarVectorCheck(const TSourceLoc&, const char* op, bool builtIn = false);
163 virtual void float16OpaqueCheck(const TSourceLoc&, const char* op, bool builtIn = false);
164 virtual void int64Check(const TSourceLoc&, const char* op, bool builtIn = false);
165 virtual void explicitInt8Check(const TSourceLoc&, const char* op, bool builtIn = false);
[all …]
DVersions.cpp1060 void TParseVersions::float16Check(const TSourceLoc& loc, const char* op, bool builtIn) in float16Check() argument
1062 if (!builtIn) { in float16Check()
1138 void TParseVersions::float16ScalarVectorCheck(const TSourceLoc& loc, const char* op, bool builtIn) in float16ScalarVectorCheck() argument
1140 if (!builtIn) { in float16ScalarVectorCheck()
1151 void TParseVersions::explicitFloat32Check(const TSourceLoc& loc, const char* op, bool builtIn) in explicitFloat32Check() argument
1153 if (!builtIn) { in explicitFloat32Check()
1161 void TParseVersions::explicitFloat64Check(const TSourceLoc& loc, const char* op, bool builtIn) in explicitFloat64Check() argument
1163 if (!builtIn) { in explicitFloat64Check()
1173 void TParseVersions::explicitInt8Check(const TSourceLoc& loc, const char* op, bool builtIn) in explicitInt8Check() argument
1175 if (! builtIn) { in explicitInt8Check()
[all …]
DSymbolTable.h255 declaredBuiltIn = retType.getQualifier().builtIn; in TSymbol()
740 … TSymbol* find(const TString& name, bool* builtIn = 0, bool* currentScope = 0, int* thisDepthP = 0)
752 if (builtIn)
753 *builtIn = isBuiltInLevel(level);
803 void findFunctionNameList(const TString& name, TVector<const TFunction*>& list, bool& builtIn) in findFunctionNameList() argument
806 builtIn = false; in findFunctionNameList()
817 builtIn = true; in findFunctionNameList()
DParseHelper.cpp465 if (base->getQualifier().isPerView() && base->getQualifier().builtIn != EbvNone) { in handleBracketDereference()
692 if (qualifier.builtIn == EbvPrimitiveIndicesNV) { in getIoArrayImplicitSize()
989 bool builtIn; in handleFunctionDeclarator() local
990 TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn); in handleFunctionDeclarator()
991 if (symbol && symbol->getAsFunction() && builtIn) in handleFunctionDeclarator()
1016 if (prevDec && ! builtIn) in handleFunctionDeclarator()
1160 bool builtIn; in handleFunctionCall() local
1161 fnCandidate = findFunction(loc, *function, builtIn); in handleFunctionCall()
1169 if (builtIn && fnCandidate->getNumExtensions()) in handleFunctionCall()
1172 if (builtIn && fnCandidate->getType().contains16BitFloat()) in handleFunctionCall()
[all …]
DParseHelper.h408 const TFunction* findFunction(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
409 const TFunction* findFunctionExact(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
410 const TFunction* findFunction120(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
411 const TFunction* findFunction400(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
412 … TFunction* findFunctionExplicitTypes(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
DParseContextBase.cpp332 bool builtIn; in getEditableVariable() local
333 TSymbol* symbol = symbolTable.find(name, &builtIn); in getEditableVariable()
339 if (builtIn) in getEditableVariable()
DlinkValidate.cpp343 if (qualifier.builtIn != EbvNone) { in visitSymbol()
367 if (qualifier.builtIn == EbvNone) { in visitSymbol()
405 if (qualifier.isLinkable() || qualifier.builtIn != EbvNone) { in visitSymbol()
1035 if (qualifier.storage == EvqVaryingOut && qualifier.builtIn == EbvNone) { in inOutLocationCheck()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.h143 …const TFunction* findFunction(const TSourceLoc& loc, TFunction& call, bool& builtIn, int& thisDept…
325 …ic bool isClipOrCullDistance(const TQualifier& qual) { return isClipOrCullDistance(qual.builtIn); } in isClipOrCullDistance()
418 builtIn(bi), storage(q) { } in tInterstageIoData()
420 TBuiltInVariable builtIn; member
425 return (builtIn != d.builtIn) ? (builtIn < d.builtIn) : (storage < d.storage);
DhlslParseHelper.cpp1096 …if (splitBuiltIns.find(tInterstageIoData(memberType.getQualifier().builtIn, outerQualifier.storage… in splitBuiltIn()
1105 …splitBuiltIns[tInterstageIoData(memberType.getQualifier().builtIn, outerQualifier.storage)] = ioVa… in splitBuiltIn()
1459 TBuiltInVariable biType = symbol.getType().getQualifier().builtIn; in trackLinkage()
1469 bool HlslParseContext::isClipOrCullDistance(TBuiltInVariable builtIn) in isClipOrCullDistance() argument
1471 return builtIn == EbvClipDistance || builtIn == EbvCullDistance; in isClipOrCullDistance()
1484 switch (type.getQualifier().builtIn) { in fixBuiltInIoType()
1505 if (type.getQualifier().builtIn == EbvClipDistance) { in fixBuiltInIoType()
1551 if (qualifier.builtIn == EbvNone && !qualifier.hasLocation()) { in assignToInterface()
1597 bool builtIn; in handleFunctionDeclarator() local
1598 TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn); in handleFunctionDeclarator()
[all …]
DhlslGrammar.cpp650 qualifier.builtIn = type.getQualifier().builtIn; in acceptFullySpecifiedType()
1047 type.getQualifier().builtIn = patchType; in acceptTessellationPatchTemplateType()
1076 type.getQualifier().builtIn = EbvGsOutputStream; in acceptStreamOutTemplateType()
2371 blockType.getQualifier().builtIn = builtinType; in acceptStructBufferType()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.h143 …const TFunction* findFunction(const TSourceLoc& loc, TFunction& call, bool& builtIn, int& thisDept…
325 …ic bool isClipOrCullDistance(const TQualifier& qual) { return isClipOrCullDistance(qual.builtIn); } in isClipOrCullDistance()
418 builtIn(bi), storage(q) { } in tInterstageIoData()
420 TBuiltInVariable builtIn; member
425 return (builtIn != d.builtIn) ? (builtIn < d.builtIn) : (storage < d.storage);
DhlslParseHelper.cpp1096 …if (splitBuiltIns.find(tInterstageIoData(memberType.getQualifier().builtIn, outerQualifier.storage… in splitBuiltIn()
1105 …splitBuiltIns[tInterstageIoData(memberType.getQualifier().builtIn, outerQualifier.storage)] = ioVa… in splitBuiltIn()
1459 TBuiltInVariable biType = symbol.getType().getQualifier().builtIn; in trackLinkage()
1469 bool HlslParseContext::isClipOrCullDistance(TBuiltInVariable builtIn) in isClipOrCullDistance() argument
1471 return builtIn == EbvClipDistance || builtIn == EbvCullDistance; in isClipOrCullDistance()
1484 switch (type.getQualifier().builtIn) { in fixBuiltInIoType()
1505 if (type.getQualifier().builtIn == EbvClipDistance) { in fixBuiltInIoType()
1551 if (qualifier.builtIn == EbvNone && !qualifier.hasLocation()) { in assignToInterface()
1597 bool builtIn; in handleFunctionDeclarator() local
1598 TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn); in handleFunctionDeclarator()
[all …]
DhlslGrammar.cpp648 qualifier.builtIn = type.getQualifier().builtIn; in acceptFullySpecifiedType()
1045 type.getQualifier().builtIn = patchType; in acceptTessellationPatchTemplateType()
1074 type.getQualifier().builtIn = EbvGsOutputStream; in acceptStreamOutTemplateType()
2369 blockType.getQualifier().builtIn = builtinType; in acceptStructBufferType()
/external/swiftshader/src/OpenGL/compiler/
DSymbolTable.cpp230 TSymbol *TSymbolTable::find(const TString &name, int shaderVersion, bool *builtIn, bool *sameScope)… in find() argument
247 if(builtIn) in find()
249 *builtIn = (level <= LAST_BUILTIN_LEVEL); in find()
DParseHelper.cpp894 bool builtIn = false; in arraySetMaxSize() local
895 TSymbol* symbol = symbolTable.find(node->getSymbol(), mShaderVersion, &builtIn); in arraySetMaxSize()
908 TSymbol* fragData = symbolTable.find("gl_MaxDrawBuffers", mShaderVersion, &builtIn); in arraySetMaxSize()
1209 const TFunction* TParseContext::findFunction(const TSourceLoc &line, TFunction* call, bool *builtIn) in findFunction() argument
1213 const TSymbol* symbol = symbolTable.find(call->getName(), mShaderVersion, builtIn); in findFunction()
1215 symbol = symbolTable.find(call->getMangledName(), mShaderVersion, builtIn); in findFunction()
1909 const TSymbol *builtIn = symbolTable.findBuiltIn(function->getMangledName(), getShaderVersion()); in parseFunctionPrototype() local
1911 if(builtIn) in parseFunctionPrototype()
3585 bool builtIn; in addFunctionCallOrMethod() local
3586 fnCandidate = findFunction(loc, fnCall, &builtIn); in addFunctionCallOrMethod()
[all …]
/external/deqp-deps/glslang/glslang/Include/
DTypes.h511 builtIn = EbvNone; in makeTemporary()
563 TBuiltInVariable builtIn : 9; variable
1730 virtual bool isBuiltIn() const { return getQualifier().builtIn != EbvNone; } in isBuiltIn()
2226 if (qualifier.builtIn != EbvNone) { in getCompleteString()
2260 …onst char* getBuiltInVariableString() const { return GetBuiltInVariableString(qualifier.builtIn); } in getBuiltInVariableString()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DTypes.h517 builtIn = EbvNone; in makeTemporary()
576 TBuiltInVariable builtIn : 9; variable
1845 virtual bool isBuiltIn() const { return getQualifier().builtIn != EbvNone; } in isBuiltIn()
2347 if (qualifier.builtIn != EbvNone) { in getCompleteString()
2381 …onst char* getBuiltInVariableString() const { return GetBuiltInVariableString(qualifier.builtIn); } in getBuiltInVariableString()
/external/icu/icu4c/source/common/
Drbbi.cpp1177 ICULanguageBreakFactory *builtIn = new ICULanguageBreakFactory(status); in initLanguageFactories() local
1178 gLanguageBreakFactories->push(builtIn, status); in initLanguageFactories()

12