Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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.cpp402 if (!node->promote(infoSink)) in addBinaryMath()
414 …TIntermTyped *typedReturnNode = leftTempConstant->fold(node->getOp(), rightTempConstant, infoSink); in addBinaryMath()
443 if (! node->promote(infoSink)) in addAssign()
476 infoSink.info.message(EPrefixInternalError, "Bad type in AddUnaryMath", line); in addUnaryMath()
514 if (! node->promote(infoSink, funcReturnType)) in addUnaryMath()
518 TIntermTyped* newChild = childTempConstant->fold(op, 0, infoSink); in addUnaryMath()
939 bool TIntermBinary::promote(TInfoSink& infoSink) in promote() argument
1048 infoSink.info.message(EPrefixInternalError, "Missing elses", getLine()); in promote()
1085 infoSink.info.message(EPrefixInternalError, "Missing elses", getLine()); in promote()
1402 …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 POOL_ALLOCATOR_NEW_DELETE()
58 TInfoSink& infoSink;
/third_party/glslang/glslang/MachineIndependent/
DlinkValidate.cpp57 void TIntermediate::error(TInfoSink& infoSink, const char* message) in error() argument
60 infoSink.info.prefix(EPrefixError); in error()
61 infoSink.info << "Linking " << StageName(language) << " stage: " << message << "\n"; in error()
68 void TIntermediate::warn(TInfoSink& infoSink, const char* message) in warn() argument
71 infoSink.info.prefix(EPrefixWarning); in warn()
72 infoSink.info << "Linking " << StageName(language) << " stage: " << message << "\n"; in warn()
83 void TIntermediate::merge(TInfoSink& infoSink, TIntermediate& unit) in merge() argument
86 mergeCallGraphs(infoSink, unit); in merge()
87 mergeModes(infoSink, unit); in merge()
88 mergeTrees(infoSink, unit); in merge()
[all …]
DShaderLang.cpp87 TBuiltInParseables* CreateBuiltInParseables(TInfoSink& infoSink, EShSource source) in CreateBuiltInParseables() argument
96 infoSink.info.message(EPrefixInternalError, "Unable to determine source language"); in CreateBuiltInParseables()
104 EShLanguage language, TInfoSink& infoSink, in CreateParseContext() argument
114 language, infoSink, forwardCompatible, messages, &entryPoint); in CreateParseContext()
119 … language, infoSink, sourceEntryPointName.c_str(), forwardCompatible, messages); in CreateParseContext()
122 infoSink.info.message(EPrefixInternalError, "Unable to determine source language"); in CreateParseContext()
238 EShSource source, TInfoSink& infoSink, TSymbolTable& symbolTable) in InitializeSymbolTable() argument
245 … language, infoSink, spvVersion, true, EShMsgDefault, in InitializeSymbolTable()
272 infoSink.info.message(EPrefixInternalError, "Unable to parse built-ins"); in InitializeSymbolTable()
273 printf("Unable to parse built-ins\n%s\n", infoSink.info.c_str()); in InitializeSymbolTable()
[all …]
DSymbolTable.cpp187 void TSymbol::dumpExtensions(TInfoSink& infoSink) const in dumpExtensions()
191 infoSink.debug << " <"; in dumpExtensions()
194 infoSink.debug << getExtensions()[i] << ","; in dumpExtensions()
196 infoSink.debug << ">"; in dumpExtensions()
200 void TVariable::dump(TInfoSink& infoSink, bool complete) const in dump() argument
203 infoSink.debug << getName().c_str() << ": " << type.getCompleteString(); in dump()
204 dumpExtensions(infoSink); in dump()
206 infoSink.debug << getName().c_str() << ": " << type.getStorageQualifierString() << " " in dump()
210 infoSink.debug << "[0]"; in dump()
213 infoSink.debug << "\n"; in dump()
[all …]
DintermOut.cpp100 TOutputTraverser(TInfoSink& i) : infoSink(i), extraOutput(NoExtraOutput) { } in TOutputTraverser()
118 TInfoSink& infoSink; member in glslang::TOutputTraverser
130 static void OutputTreeText(TInfoSink& infoSink, const TIntermNode* node, const int depth) in OutputTreeText() argument
134 infoSink.debug << node->getLoc().string << ":"; in OutputTreeText()
136 infoSink.debug << node->getLoc().line; in OutputTreeText()
138 infoSink.debug << "? "; in OutputTreeText()
141 infoSink.debug << " "; in OutputTreeText()
155 TInfoSink& out = infoSink; in visitBinary()
236 TInfoSink& out = infoSink; in visitUnary()
708 TInfoSink& out = infoSink; in visitAggregate()
[all …]
Diomapper.cpp195 , infoSink(i) in TResolverUniformAdaptor()
217 infoSink.info.message(EPrefixInternalError, err.c_str()); in operator ()()
225 infoSink.info.message(EPrefixInternalError, err.c_str()); in operator ()()
231 infoSink.info.message(EPrefixInternalError, errorMsg.c_str()); in operator ()()
240 TInfoSink& infoSink; member
251 , infoSink(i) in TResolverInOutAdaptor()
278 infoSink.info.message(EPrefixInternalError, errorMsg.c_str()); in operator ()()
287 TInfoSink& infoSink; member
304 , infoSink(i) in TSymbolValidater()
358 infoSink.info.message(EPrefixInternalError, err.c_str()); in operator ()()
[all …]
DparseVersions.h58 const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, in TParseVersions() argument
65 infoSink(infoSink), version(version), in TParseVersions()
223 TInfoSink& infoSink; variable
DSymbolTable.h121 virtual void dump(TInfoSink& infoSink, bool complete = false) const = 0;
122 void dumpExtensions(TInfoSink& infoSink) const;
200 virtual void dump(TInfoSink& infoSink, bool complete = false) const;
323 virtual void dump(TInfoSink& infoSink, bool complete = false) const override;
385 virtual void dump(TInfoSink& infoSink, bool complete = false) const override;
555 void dump(TInfoSink& infoSink, bool complete = false) const;
858 void dump(TInfoSink& infoSink, bool complete = false) const;
/third_party/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
/third_party/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
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
Dcompiler_test.cpp83 TInfoSink &infoSink = translator->getInfoSink(); in compileTestShader() local
86 *translatedCode = infoSink.obj.isBinary() ? kBinaryBlob : infoSink.obj.c_str(); in compileTestShader()
90 *infoLog = infoSink.info.c_str(); in compileTestShader()
DShaderCompileTreeTest.cpp138 TInfoSink &infoSink = mTranslator->getInfoSink(); in compile() local
139 mInfoLog = infoSink.info.c_str(); in compile()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DWorkGroupSize_test.cpp40 TInfoSink &infoSink = mTranslator->getInfoSink(); in compile() local
41 mInfoLog = infoSink.info.c_str(); in compile()
DRemovePow_test.cpp49 TInfoSink &infoSink = mTranslatorGLSL->getInfoSink(); in compile() local
50 FAIL() << "Shader compilation into ESSL failed " << infoSink.info.c_str(); in compile()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DWorkGroupSize_test.cpp40 TInfoSink &infoSink = mTranslator->getInfoSink(); in compile() local
41 mInfoLog = infoSink.info.c_str(); in compile()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DDiagnostics.cpp17 TDiagnostics::TDiagnostics(TInfoSinkBase &infoSink) in TDiagnostics() argument
18 : mInfoSink(infoSink), mNumErrors(0), mNumWarnings(0) in TDiagnostics()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DDiagnostics.cpp17 TDiagnostics::TDiagnostics(TInfoSinkBase &infoSink) in TDiagnostics() argument
18 : mInfoSink(infoSink), mNumErrors(0), mNumWarnings(0) in TDiagnostics()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DShaderCompileTreeTest.cpp138 TInfoSink &infoSink = mTranslator->getInfoSink(); in compile() local
139 mInfoLog = infoSink.info.c_str(); in compile()

12