Home
last modified time | relevance | path

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

12

/third_party/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.cpp1043 void TParseVersions::float16Check(const TSourceLoc& loc, const char* op, bool builtIn) in float16Check() argument
1045 if (!builtIn) { in float16Check()
1121 void TParseVersions::float16ScalarVectorCheck(const TSourceLoc& loc, const char* op, bool builtIn) in float16ScalarVectorCheck() argument
1123 if (!builtIn) { in float16ScalarVectorCheck()
1134 void TParseVersions::explicitFloat32Check(const TSourceLoc& loc, const char* op, bool builtIn) in explicitFloat32Check() argument
1136 if (!builtIn) { in explicitFloat32Check()
1144 void TParseVersions::explicitFloat64Check(const TSourceLoc& loc, const char* op, bool builtIn) in explicitFloat64Check() argument
1146 if (!builtIn) { in explicitFloat64Check()
1156 void TParseVersions::explicitInt8Check(const TSourceLoc& loc, const char* op, bool builtIn) in explicitInt8Check() argument
1158 if (! builtIn) { in explicitInt8Check()
[all …]
DSymbolTable.h255 declaredBuiltIn = retType.getQualifier().builtIn; in TSymbol()
734 … TSymbol* find(const TString& name, bool* builtIn = 0, bool* currentScope = 0, int* thisDepthP = 0)
746 if (builtIn)
747 *builtIn = isBuiltInLevel(level);
797 void findFunctionNameList(const TString& name, TVector<const TFunction*>& list, bool& builtIn) in findFunctionNameList() argument
800 builtIn = false; in findFunctionNameList()
811 builtIn = true; in findFunctionNameList()
DParseHelper.h407 const TFunction* findFunction(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
408 const TFunction* findFunctionExact(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
409 const TFunction* findFunction120(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
410 const TFunction* findFunction400(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
411 … TFunction* findFunctionExplicitTypes(const TSourceLoc& loc, const TFunction& call, bool& builtIn);
DParseHelper.cpp461 if (base->getQualifier().isPerView() && base->getQualifier().builtIn != EbvNone) { in handleBracketDereference()
688 if (qualifier.builtIn == EbvPrimitiveIndicesNV) { in getIoArrayImplicitSize()
985 bool builtIn; in handleFunctionDeclarator() local
986 TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn); in handleFunctionDeclarator()
987 if (symbol && symbol->getAsFunction() && builtIn) in handleFunctionDeclarator()
1012 if (prevDec && ! builtIn) in handleFunctionDeclarator()
1156 bool builtIn; in handleFunctionCall() local
1157 fnCandidate = findFunction(loc, *function, builtIn); in handleFunctionCall()
1165 if (builtIn && fnCandidate->getNumExtensions()) in handleFunctionCall()
1168 if (builtIn && fnCandidate->getType().contains16BitFloat()) in handleFunctionCall()
[all …]
DParseContextBase.cpp310 bool builtIn; in getEditableVariable() local
311 TSymbol* symbol = symbolTable.find(name, &builtIn); in getEditableVariable()
317 if (builtIn) in getEditableVariable()
DlinkValidate.cpp341 if (qualifier.builtIn != EbvNone) { in visitSymbol()
365 if (qualifier.builtIn == EbvNone) { in visitSymbol()
403 if (qualifier.isLinkable() || qualifier.builtIn != EbvNone) { in visitSymbol()
1012 if (qualifier.storage == EvqVaryingOut && qualifier.builtIn == EbvNone) { in inOutLocationCheck()
DInitialize.cpp7266 …ualifier(const char* name, TStorageQualifier qualifier, TBuiltInVariable builtIn, TSymbolTable& sy… argument
7274 symQualifier.builtIn = builtIn;
7287 static void BuiltInVariable(const char* name, TBuiltInVariable builtIn, TSymbolTable& symbolTable) argument
7294 symQualifier.builtIn = builtIn;
7304 static void BuiltInVariable(const char* blockName, const char* name, TBuiltInVariable builtIn, TSym… argument
7313 structure[i].type->getQualifier().builtIn = builtIn;
/third_party/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()
/third_party/skia/third_party/externals/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 …]
DParseHelper.h156 const TFunction* findFunction(const TSourceLoc &line, TFunction* pfnCall, bool *builtIn = 0);
DSymbolTable.h452 …TSymbol *find(const TString &name, int shaderVersion, bool *builtIn = nullptr, bool *sameScope = n…
/third_party/glslang/glslang/Include/
DTypes.h508 builtIn = EbvNone; in makeTemporary()
559 TBuiltInVariable builtIn : 9; variable
1713 virtual bool isBuiltIn() const { return getQualifier().builtIn != EbvNone; } in isBuiltIn()
2207 if (qualifier.builtIn != EbvNone) { in getCompleteString()
2241 …onst char* getBuiltInVariableString() const { return GetBuiltInVariableString(qualifier.builtIn); } in getBuiltInVariableString()
/third_party/icu/icu4c/source/common/
Drbbi.cpp1177 ICULanguageBreakFactory *builtIn = new ICULanguageBreakFactory(status); in initLanguageFactories() local
1178 gLanguageBreakFactories->push(builtIn, status); in initLanguageFactories()
/third_party/skia/third_party/externals/icu/source/common/
Drbbi.cpp1177 ICULanguageBreakFactory *builtIn = new ICULanguageBreakFactory(status); in initLanguageFactories() local
1178 gLanguageBreakFactories->push(builtIn, status); in initLanguageFactories()
/third_party/node/deps/icu-small/source/common/
Drbbi.cpp1177 ICULanguageBreakFactory *builtIn = new ICULanguageBreakFactory(status); in initLanguageFactories() local
1178 gLanguageBreakFactories->push(builtIn, status); in initLanguageFactories()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Drbbi.cpp1150 ICULanguageBreakFactory *builtIn = new ICULanguageBreakFactory(status); in initLanguageFactories() local
1151 gLanguageBreakFactories->push(builtIn, status); in initLanguageFactories()
/third_party/glslang/SPIRV/
DGlslangToSpv.cpp233 …std::pair<spv::Id, spv::Id> getForcedType(glslang::TBuiltInVariable builtIn, const glslang::TType&…
653 spv::BuiltIn TGlslangToSpvTraverser::TranslateBuiltInDecoration(glslang::TBuiltInVariable builtIn, in TranslateBuiltInDecoration() argument
656 switch (builtIn) { in TranslateBuiltInDecoration()
4028 … spv::BuiltIn builtIn = TranslateBuiltInDecoration(glslangMember.getQualifier().builtIn, true); in decorateStructType() local
4029 if (builtIn != spv::BuiltInMax) in decorateStructType()
4030 builder.addMemberDecoration(spvType, member, spv::DecorationBuiltIn, (int)builtIn); in decorateStructType()
4042 if (builtIn == spv::BuiltInLayer) { in decorateStructType()
4387 …nst glslang::TBuiltInVariable glslangBuiltIn = members[glslangMember].type->getQualifier().builtIn; in declareUseOfStructMember()
8135 spv::BuiltIn builtIn = TranslateBuiltInDecoration(symbol->getQualifier().builtIn, false); in getSymbolId() local
8136 auto forcedType = getForcedType(symbol->getQualifier().builtIn, symbol->getType()); in getSymbolId()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.cpp3367 const UnmangledBuiltIn *builtIn = in parseFunctionDeclarator() local
3369 if (builtIn && in parseFunctionDeclarator()
3370 (builtIn->extension == TExtension::UNDEFINED || isExtensionEnabled(builtIn->extension))) in parseFunctionDeclarator()
3382 const TSymbol *builtIn = in parseFunctionDeclarator() local
3384 if (builtIn) in parseFunctionDeclarator()
/third_party/flutter/flutter/packages/flutter_tools/lib/src/build_runner/
Dbuild_script.dart249 assetPath, contents, Runtime.builtIn.map((Runtime runtime) => runtime.name).toSet());
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_builtins.cpp126 SpvBuiltIn builtIn; member
168 uint32_t GetVUIDForBuiltin(SpvBuiltIn builtIn, VUIDError type) { in GetVUIDForBuiltin() argument
171 if (iter.builtIn == builtIn) { in GetVUIDForBuiltin()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_builtins.cpp126 SpvBuiltIn builtIn; member
168 uint32_t GetVUIDForBuiltin(SpvBuiltIn builtIn, VUIDError type) { in GetVUIDForBuiltin() argument
171 if (iter.builtIn == builtIn) { in GetVUIDForBuiltin()

12