/external/swiftshader/src/OpenGL/compiler/ |
D | Compiler.cpp | 121 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 …]
|
D | parseConst.cpp | 30 infoSink(sink), in TConstTraverser() 53 TInfoSink& infoSink; member in TConstTraverser 70 …infoSink.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() 87 …infoSink.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() 152 …infoSink.info.message(EPrefixInternalError, "Selection Node found in constant constructor", node->… in visitSelection() 162 assert(infoSink.info.size() != 0); in visitConstantUnion() 222 …infoSink.info.message(EPrefixInternalError, "Loop Node found in constant constructor", node->getLi… in visitLoop() [all …]
|
D | Intermediate.cpp | 402 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 …]
|
D | Compiler.h | 89 TInfoSink& getInfoSink() { return infoSink; } in getInfoSink() 98 bool validateCallDepth(TIntermNode *root, TInfoSink &infoSink); 120 TInfoSink infoSink; // Output sink. variable
|
D | Diagnostics.h | 25 TDiagnostics(TInfoSink& infoSink); 29 TInfoSink& infoSink() { return mInfoSink; } in infoSink() function
|
D | Diagnostics.cpp | 21 TDiagnostics::TDiagnostics(TInfoSink& infoSink) : in TDiagnostics() argument 23 mInfoSink(infoSink), in TDiagnostics()
|
D | localintermediate.h | 33 TIntermediate(TInfoSink& i) : infoSink(i) { } in POOL_ALLOCATOR_NEW_DELETE() 58 TInfoSink& infoSink;
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | linkValidate.cpp | 57 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 …]
|
D | ShaderLang.cpp | 87 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 …]
|
D | SymbolTable.cpp | 191 void TSymbol::dumpExtensions(TInfoSink& infoSink) const in dumpExtensions() 195 infoSink.debug << " <"; in dumpExtensions() 198 infoSink.debug << getExtensions()[i] << ","; in dumpExtensions() 200 infoSink.debug << ">"; in dumpExtensions() 204 void TVariable::dump(TInfoSink& infoSink, bool complete) const in dump() argument 207 infoSink.debug << getName().c_str() << ": " << type.getCompleteString(); in dump() 208 dumpExtensions(infoSink); in dump() 210 infoSink.debug << getName().c_str() << ": " << type.getStorageQualifierString() << " " in dump() 214 infoSink.debug << "[0]"; in dump() 217 infoSink.debug << "\n"; in dump() [all …]
|
D | intermOut.cpp | 100 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() 711 TInfoSink& out = infoSink; in visitAggregate() [all …]
|
D | iomapper.cpp | 198 , infoSink(i) in TResolverUniformAdaptor() 221 infoSink.info.message(EPrefixInternalError, err.c_str()); in operator ()() 240 infoSink.info.message(EPrefixInternalError, err.c_str()); in operator ()() 256 infoSink.info.message(EPrefixInternalError, errorMsg.c_str()); in operator ()() 265 TInfoSink& infoSink; member 276 , infoSink(i) in TResolverInOutAdaptor() 303 infoSink.info.message(EPrefixInternalError, errorMsg.c_str()); in operator ()() 312 TInfoSink& infoSink; member 329 , infoSink(i) in TSymbolValidater() 375 infoSink.info.message(EPrefixInternalError, err.c_str()); in TSymbolValidater() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | linkValidate.cpp | 58 void TIntermediate::error(TInfoSink& infoSink, const char* message) in error() argument 61 infoSink.info.prefix(EPrefixError); in error() 62 infoSink.info << "Linking " << StageName(language) << " stage: " << message << "\n"; in error() 69 void TIntermediate::warn(TInfoSink& infoSink, const char* message) in warn() argument 72 infoSink.info.prefix(EPrefixWarning); in warn() 73 infoSink.info << "Linking " << StageName(language) << " stage: " << message << "\n"; in warn() 84 void TIntermediate::merge(TInfoSink& infoSink, TIntermediate& unit) in merge() argument 87 mergeCallGraphs(infoSink, unit); in merge() 88 mergeModes(infoSink, unit); in merge() 89 mergeTrees(infoSink, unit); in merge() [all …]
|
D | ShaderLang.cpp | 87 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() 242 EShSource source, TInfoSink& infoSink, TSymbolTable& symbolTable) in InitializeSymbolTable() argument 249 … language, infoSink, spvVersion, true, EShMsgDefault, in InitializeSymbolTable() 276 infoSink.info.message(EPrefixInternalError, "Unable to parse built-ins"); in InitializeSymbolTable() 277 printf("Unable to parse built-ins\n%s\n", infoSink.info.c_str()); in InitializeSymbolTable() [all …]
|
D | SymbolTable.cpp | 192 void TSymbol::dumpExtensions(TInfoSink& infoSink) const in dumpExtensions() 196 infoSink.debug << " <"; in dumpExtensions() 199 infoSink.debug << getExtensions()[i] << ","; in dumpExtensions() 201 infoSink.debug << ">"; in dumpExtensions() 205 void TVariable::dump(TInfoSink& infoSink, bool complete) const in dump() argument 208 infoSink.debug << getName().c_str() << ": " << type.getCompleteString(); in dump() 209 dumpExtensions(infoSink); in dump() 211 infoSink.debug << getName().c_str() << ": " << type.getStorageQualifierString() << " " in dump() 215 infoSink.debug << "[0]"; in dump() 218 infoSink.debug << "\n"; in dump() [all …]
|
D | intermOut.cpp | 100 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() 715 TInfoSink& out = infoSink; in visitAggregate() [all …]
|
D | iomapper.cpp | 198 , infoSink(i) in TResolverUniformAdaptor() 221 infoSink.info.message(EPrefixInternalError, err.c_str()); in operator ()() 240 infoSink.info.message(EPrefixInternalError, err.c_str()); in operator ()() 256 infoSink.info.message(EPrefixInternalError, errorMsg.c_str()); in operator ()() 265 TInfoSink& infoSink; member 276 , infoSink(i) in TResolverInOutAdaptor() 303 infoSink.info.message(EPrefixInternalError, errorMsg.c_str()); in operator ()() 312 TInfoSink& infoSink; member 327 , infoSink(i) in TSymbolValidater() 373 infoSink.info.message(EPrefixInternalError, err.c_str()); in TSymbolValidater() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/ |
D | ShHandle.h | 79 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/Include/ |
D | ShHandle.h | 79 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/ |
D | CodeGen.cpp | 44 … TGenericCompiler(EShLanguage l, int dOptions) : TCompiler(l, infoSink), debugOptions(dOptions) { } in TGenericCompiler() 46 TInfoSink infoSink; member in TGenericCompiler
|
D | Link.cpp | 47 TGenericLinker(EShExecutable e, int dOptions) : TLinker(e, infoSink), debugOptions(dOptions) { } in TGenericLinker() 50 TInfoSink infoSink; member in TGenericLinker
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/GenericCodeGen/ |
D | CodeGen.cpp | 44 … TGenericCompiler(EShLanguage l, int dOptions) : TCompiler(l, infoSink), debugOptions(dOptions) { } in TGenericCompiler() 46 TInfoSink infoSink; member in TGenericCompiler
|
D | Link.cpp | 47 TGenericLinker(EShExecutable e, int dOptions) : TLinker(e, infoSink), debugOptions(dOptions) { } in TGenericLinker() 50 TInfoSink infoSink; member in TGenericLinker
|
/external/angle/src/tests/compiler_tests/ |
D | WorkGroupSize_test.cpp | 40 TInfoSink &infoSink = mTranslator->getInfoSink(); in compile() local 41 mInfoLog = infoSink.info.c_str(); in compile()
|
/external/angle/src/tests/test_utils/ |
D | compiler_test.cpp | 83 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()
|