Home
last modified time | relevance | path

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

12

/external/deqp-deps/glslang/glslang/MachineIndependent/
DlinkValidate.cpp57 void TIntermediate::error(TInfoSink& infoSink, const char* message) in error() argument
59 infoSink.info.prefix(EPrefixError); in error()
60 infoSink.info << "Linking " << StageName(language) << " stage: " << message << "\n"; in error()
66 void TIntermediate::warn(TInfoSink& infoSink, const char* message) in warn() argument
68 infoSink.info.prefix(EPrefixWarning); in warn()
69 infoSink.info << "Linking " << StageName(language) << " stage: " << message << "\n"; in warn()
79 void TIntermediate::merge(TInfoSink& infoSink, TIntermediate& unit) in merge() argument
81 mergeCallGraphs(infoSink, unit); in merge()
82 mergeModes(infoSink, unit); in merge()
83 mergeTrees(infoSink, unit); in merge()
[all …]
DShaderLang.cpp84 TBuiltInParseables* CreateBuiltInParseables(TInfoSink& infoSink, EShSource source) in CreateBuiltInParseables() argument
93 infoSink.info.message(EPrefixInternalError, "Unable to determine source language"); in CreateBuiltInParseables()
101 EShLanguage language, TInfoSink& infoSink, in CreateParseContext() argument
111 language, infoSink, forwardCompatible, messages, &entryPoint); in CreateParseContext()
116 … language, infoSink, sourceEntryPointName.c_str(), forwardCompatible, messages); in CreateParseContext()
119 infoSink.info.message(EPrefixInternalError, "Unable to determine source language"); in CreateParseContext()
235 EShSource source, TInfoSink& infoSink, TSymbolTable& symbolTable) in InitializeSymbolTable() argument
242 … language, infoSink, spvVersion, true, EShMsgDefault, in InitializeSymbolTable()
269 infoSink.info.message(EPrefixInternalError, "Unable to parse built-ins"); in InitializeSymbolTable()
270 printf("Unable to parse built-ins\n%s\n", infoSink.info.c_str()); in InitializeSymbolTable()
[all …]
DintermOut.cpp96 TOutputTraverser(TInfoSink& i) : infoSink(i), extraOutput(NoExtraOutput) { } in TOutputTraverser()
114 TInfoSink& infoSink; member in glslang::TOutputTraverser
126 static void OutputTreeText(TInfoSink& infoSink, const TIntermNode* node, const int depth) in OutputTreeText() argument
130 infoSink.debug << node->getLoc().string << ":"; in OutputTreeText()
132 infoSink.debug << node->getLoc().line; in OutputTreeText()
134 infoSink.debug << "? "; in OutputTreeText()
137 infoSink.debug << " "; in OutputTreeText()
151 TInfoSink& out = infoSink; in visitBinary()
225 TInfoSink& out = infoSink; in visitUnary()
697 TInfoSink& out = infoSink; in visitAggregate()
[all …]
DSymbolTable.cpp177 void TVariable::dump(TInfoSink& infoSink) const in dump()
179infoSink.debug << getName().c_str() << ": " << type.getStorageQualifierString() << " " << type.get… in dump()
181 infoSink.debug << "[0]"; in dump()
183 infoSink.debug << "\n"; in dump()
186 void TFunction::dump(TInfoSink& infoSink) const in dump()
188infoSink.debug << getName().c_str() << ": " << returnType.getBasicTypeString() << " " << getMangl… in dump()
196 void TSymbolTableLevel::dump(TInfoSink &infoSink) const in dump()
200 (*it).second->dump(infoSink); in dump()
203 void TSymbolTable::dump(TInfoSink &infoSink) const in dump()
206 infoSink.debug << "LEVEL " << level << "\n"; in dump()
[all …]
Diomapper.cpp243 , infoSink(i) in TResolverUniformAdaptor()
269 infoSink.info.message(EPrefixInternalError, err.c_str()); in operator ()()
277 infoSink.info.message(EPrefixInternalError, err.c_str()); in operator ()()
283 infoSink.info.message(EPrefixInternalError, errorMsg.c_str()); in operator ()()
290 TInfoSink& infoSink; member
303 , infoSink(i) in TResolverInOutAdaptor()
342 infoSink.info.message(EPrefixInternalError, errorMsg.c_str()); in operator ()()
349 TInfoSink& infoSink; member
742 bool TIoMapper::addStage(EShLanguage stage, TIntermediate &intermediate, TInfoSink &infoSink, TIoMa… in addStage() argument
795 TResolverUniformAdaptor uniformResolve(stage, *resolver, infoSink, hadError, intermediate); in addStage()
[all …]
DparseVersions.h58 const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, in TParseVersions() argument
60 : infoSink(infoSink), version(version), profile(profile), language(language), in TParseVersions()
135 TInfoSink& infoSink; variable
DSymbolTable.h118 virtual void dump(TInfoSink &infoSink) const = 0;
175 virtual void dump(TInfoSink &infoSink) const;
297 virtual void dump(TInfoSink &infoSink) const override;
350 virtual void dump(TInfoSink &infoSink) const;
518 void dump(TInfoSink &infoSink) const;
800 void dump(TInfoSink &infoSink) const;
DVersions.cpp554infoSink.info.message(EPrefixWarning, ("extension " + TString(extensions[i]) + " is being used for… in profileRequires()
606infoSink.info.message(EPrefixWarning, (TString(featureDesc) + " deprecated in version " + in checkDeprecated()
649infoSink.info.message(EPrefixWarning, "The following extension must be enabled to use this feature… in checkExtensionsRequested()
653infoSink.info.message(EPrefixWarning, ("extension " + TString(extensions[i]) + " is being used for… in checkExtensionsRequested()
677 infoSink.info.message(EPrefixNone, extensions[i]); in requireExtensions()
696 infoSink.info.message(EPrefixNone, extensions[i]); in ppRequireExtensions()
DParseContextBase.cpp61 infoSink.info.prefix(prefix); in outputMessage()
62 infoSink.info.location(loc); in outputMessage()
63 infoSink.info << "'" << szToken << "' : " << szReason << " " << szExtraInfo << "\n"; in outputMessage()
DParseHelper.h80 TInfoSink& infoSink, bool forwardCompatible, EShMessages messages,
82 …: TParseVersions(interm, version, profile, spvVersion, language, infoSink, forwardCompatible, mess… in TParseVersions() argument
Dlocalintermediate.h718 void error(TInfoSink& infoSink, const char*);
719 void warn(TInfoSink& infoSink, const char*);
/external/swiftshader/src/OpenGL/compiler/
DCompiler.cpp121 TIntermediate intermediate(infoSink); in compile()
124 sourcePath, infoSink); in compile()
131 infoSink.info.message(EPrefixInternalError, "Wrong symbol table level"); in compile()
145 success = validateCallDepth(root, infoSink); in compile()
205 infoSink.info.erase(); in clearResults()
206 infoSink.obj.erase(); in clearResults()
207 infoSink.debug.erase(); in clearResults()
210 bool TCompiler::validateCallDepth(TIntermNode *root, TInfoSink &infoSink) in validateCallDepth() argument
218 infoSink.info.prefix(EPrefixError); in validateCallDepth()
219 infoSink.info << "Missing main()"; in validateCallDepth()
[all …]
DparseConst.cpp30 infoSink(sink), in TConstTraverser()
53 TInfoSink& infoSink; member in TConstTraverser
70infoSink.info.message(EPrefixInternalError, "Symbol Node found in constant constructor", node->get… in visitSymbol()
82 infoSink.info.message(EPrefixError, buf.c_str(), node->getLine()); in visitBinary()
87infoSink.info.message(EPrefixInternalError, "Binary Node found in constant constructor", node->get… in visitBinary()
97 infoSink.info.message(EPrefixError, buf.c_str(), node->getLine()); in visitUnary()
108 infoSink.info.message(EPrefixError, buf.c_str(), node->getLine()); in visitAggregate()
152infoSink.info.message(EPrefixInternalError, "Selection Node found in constant constructor", node->… in visitSelection()
162 assert(infoSink.info.size() != 0); in visitConstantUnion()
222infoSink.info.message(EPrefixInternalError, "Loop Node found in constant constructor", node->getLi… in visitLoop()
[all …]
DIntermediate.cpp404 if (!node->promote(infoSink)) in addBinaryMath()
416 …TIntermTyped *typedReturnNode = leftTempConstant->fold(node->getOp(), rightTempConstant, infoSink); in addBinaryMath()
445 if (! node->promote(infoSink)) in addAssign()
478 infoSink.info.message(EPrefixInternalError, "Bad type in AddUnaryMath", line); in addUnaryMath()
516 if (! node->promote(infoSink, funcReturnType)) in addUnaryMath()
520 TIntermTyped* newChild = childTempConstant->fold(op, 0, infoSink); in addUnaryMath()
941 bool TIntermBinary::promote(TInfoSink& infoSink) in promote() argument
1050 infoSink.info.message(EPrefixInternalError, "Missing elses", getLine()); in promote()
1087 infoSink.info.message(EPrefixInternalError, "Missing elses", getLine()); in promote()
1404 …ermTyped* TIntermConstantUnion::fold(TOperator op, TIntermTyped* constantNode, TInfoSink& infoSink) in fold() argument
[all …]
DCompiler.h89 TInfoSink& getInfoSink() { return infoSink; } in getInfoSink()
98 bool validateCallDepth(TIntermNode *root, TInfoSink &infoSink);
120 TInfoSink infoSink; // Output sink. variable
DDiagnostics.h25 TDiagnostics(TInfoSink& infoSink);
29 TInfoSink& infoSink() { return mInfoSink; } in infoSink() function
DDiagnostics.cpp21 TDiagnostics::TDiagnostics(TInfoSink& infoSink) : in TDiagnostics() argument
23 mInfoSink(infoSink), in TDiagnostics()
Dlocalintermediate.h33 TIntermediate(TInfoSink& i) : infoSink(i) { } in TIntermediate()
58 TInfoSink& infoSink;
DParseHelper.h78 TInfoSink &infoSink() { return mDiagnostics.infoSink(); } in infoSink() function
DintermOut.cpp480 TOutputTraverser it(infoSink.info); in outputTree()
/external/deqp-deps/glslang/glslang/Include/
DShHandle.h79 virtual TInfoSink& getInfoSink() { return infoSink; } in getInfoSink()
80 TInfoSink infoSink; variable
91 …TCompiler(EShLanguage l, TInfoSink& sink) : infoSink(sink) , language(l), haveValidObjectCode(fals… in TCompiler()
94 virtual TInfoSink& getInfoSink() { return infoSink; } in getInfoSink()
101 TInfoSink& infoSink; variable
123 infoSink(iSink), in TLinker()
141 virtual TInfoSink& getInfoSink() { return infoSink; } in getInfoSink()
142 TInfoSink& infoSink; variable
/external/deqp-deps/glslang/glslang/GenericCodeGen/
DCodeGen.cpp44 … TGenericCompiler(EShLanguage l, int dOptions) : TCompiler(l, infoSink), debugOptions(dOptions) { } in TGenericCompiler()
46 TInfoSink infoSink; member in TGenericCompiler
DLink.cpp47 TGenericLinker(EShExecutable e, int dOptions) : TLinker(e, infoSink), debugOptions(dOptions) { } in TGenericLinker()
50 TInfoSink infoSink; member in TGenericLinker
/external/deqp-deps/glslang/glslang/Public/
DShaderLang.h575 TInfoSink* infoSink; variable
728 TInfoSink* infoSink; variable
/external/deqp-deps/glslang/hlsl/
DhlslScanContext.cpp880 parseContext.infoSink.info.message(EPrefixInternalError, "Unknown glslang keyword", loc); in tokenizeIdentifier()

12