/third_party/skia/third_party/externals/tint/src/resolver/ |
D | dependency_graph.cc | 129 diagnostics_(diagnostics), in DependencyScanner() 169 UnhandledNode(diagnostics_, global->node); in Scan() 274 UnhandledNode(diagnostics_, stmt); in TraverseStatement() 283 AddError(diagnostics_, "redeclaration of '" + name + "'", node->source); in Declare() 284 AddNote(diagnostics_, "'" + name + "' previously declared here", in Declare() 296 root, diagnostics_, [&](const ast::Expression* expr) { in TraverseExpression() 385 UnhandledNode(diagnostics_, ty); in TraverseType() 417 UnhandledNode(diagnostics_, deco); in TraverseDecoration() 450 diagnostics_, in UnknownSymbol() 458 diag::List& diagnostics_; member in tint::resolver::__anon2f0d568e0111::DependencyScanner [all …]
|
D | resolver.cc | 87 diagnostics_(builder->Diagnostics()), in Resolver() 105 if (!result && !diagnostics_.contains_errors()) { in Resolve() 106 TINT_ICE(Resolver, diagnostics_) in Resolve() 136 TINT_UNREACHABLE(Resolver, diagnostics_) in ResolveInternal() 153 TINT_ICE(Resolver, diagnostics_) << "AST node '" << node->TypeInfo().name in ResolveInternal() 265 TINT_UNREACHABLE(Resolver, diagnostics_) in Type() 321 TINT_ICE(Resolver, diagnostics_) in Variable() 437 TINT_UNREACHABLE(Resolver, diagnostics_) in Variable() 656 TINT_ICE(Resolver, diagnostics_) in Function() 791 TINT_ICE(Resolver, diagnostics_) in WorkgroupSize() [all …]
|
D | resolver_validation.cc | 271 TINT_ICE(Resolver, diagnostics_) << "Validation should have ensured that " in ValidateStorageClassLayout() 1014 TINT_ICE(Resolver, diagnostics_) in ValidateFunction() 1055 TINT_ICE(Resolver, diagnostics_) in ValidateFunction() 1524 TINT_ICE(Resolver, diagnostics_) in ValidateTextureIntrinsicFunction() 1534 arg->Declaration(), diagnostics_, [&](const ast::Expression* e) { in ValidateTextureIntrinsicFunction() 1619 TINT_ICE(Resolver, diagnostics_) << "failed to resolve identifier"; in ValidateFunctionCall() 1631 TINT_ICE(Resolver, diagnostics_) in ValidateFunctionCall() 1636 TINT_ICE(Resolver, diagnostics_) in ValidateFunctionCall() 1814 TINT_ICE(Resolver, diagnostics_) in ValidateVectorConstructorOrCast() 1961 TraverseCallChain(diagnostics_, entry_point, func, in ValidatePipelineStages() [all …]
|
D | resolver.h | 86 std::string error() const { return diagnostics_.str(); } in error() 452 TINT_ICE(Resolver, diagnostics_) in Sem() 517 diag::List& diagnostics_; variable
|
/third_party/skia/third_party/externals/tint/src/ |
D | program.cc | 44 diagnostics_(std::move(program.diagnostics_)), in Program() 69 diagnostics_.add(std::move(builder.Diagnostics())); in Program() 73 if (!is_valid_ && !diagnostics_.contains_errors()) { in Program() 77 diagnostics_.add_error(diag::System::Program, "invalid program generated"); in Program() 94 diagnostics_ = std::move(program.diagnostics_); in operator =()
|
D | program_builder.cc | 41 diagnostics_(std::move(rhs.diagnostics_)), in ProgramBuilder() 58 diagnostics_ = std::move(rhs.diagnostics_); in operator =() 71 builder.diagnostics_ = program->Diagnostics(); in Wrap() 77 return !diagnostics_.contains_errors(); in IsValid() 87 TINT_ICE(ProgramBuilder, const_cast<ProgramBuilder*>(this)->diagnostics_) in AssertNotMoved()
|
D | debug.cc | 32 : file_(file), line_(line), system_(system), diagnostics_(diagnostics) {} in InternalCompilerError() 36 diagnostics_.add_ice(system_, msg_.str(), source); in ~InternalCompilerError() 39 ice_reporter(diagnostics_); in ~InternalCompilerError()
|
D | program.h | 108 return diagnostics_; in Diagnostics() 186 diag::List diagnostics_; variable
|
D | debug.h | 72 diag::List& diagnostics_; variable
|
D | program_builder.h | 279 return diagnostics_; in Diagnostics() 285 return diagnostics_; in Diagnostics() 2562 diag::List diagnostics_; variable
|
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
D | generator_impl.cc | 224 TINT_ICE(Writer, diagnostics_) << "module-scope variables should have " in Generate() 269 diagnostics_.add_error(diag::System::Writer, in EmitTypeDecl() 405 diagnostics_.add_error(diag::System::Writer, in EmitBinary() 550 TINT_ICE(Writer, diagnostics_) in EmitCall() 836 TINT_UNREACHABLE(Writer, diagnostics_) in EmitAtomicCall() 858 TINT_ICE(Writer, diagnostics_) << "missing texture arg"; in EmitTextureCall() 889 diagnostics_.add_error(diag::System::Writer, in EmitTextureCall() 996 TINT_UNREACHABLE(Writer, diagnostics_) in EmitTextureCall() 1032 TINT_ICE(Writer, diagnostics_) in EmitTextureCall() 1091 diagnostics_.add_error(diag::System::Writer, err.str()); in EmitTextureCall() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
D | generator_impl.cc | 258 TINT_ICE(Writer, diagnostics_) in Generate() 546 diagnostics_.add_error(diag::System::Writer, in EmitBitcast() 691 TINT_UNREACHABLE(Writer, diagnostics_); in EmitBinary() 752 diagnostics_.add_error(diag::System::Writer, in EmitBinary() 810 TINT_ICE(Writer, diagnostics_) in EmitCall() 844 TINT_UNREACHABLE(Writer, diagnostics_) in EmitFunctionCall() 1126 TINT_UNREACHABLE(Writer, diagnostics_) in EmitUniformBufferAccess() 1134 TINT_UNREACHABLE(Writer, diagnostics_) in EmitUniformBufferAccess() 1196 TINT_UNREACHABLE(Writer, diagnostics_) in EmitStorageBufferAccess() 1248 TINT_UNREACHABLE(Writer, diagnostics_) in EmitStorageBufferAccess() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
D | generator_impl.cc | 84 TINT_UNREACHABLE(Writer, diagnostics_); in Generate() 109 diagnostics_.add_error( in EmitTypeDecl() 148 diagnostics_.add_error(diag::System::Writer, "unknown expression type"); in EmitExpression() 227 TINT_ICE(Writer, diagnostics_) in EmitCall() 262 diagnostics_.add_error(diag::System::Writer, "unknown literal type"); in EmitLiteral() 342 diagnostics_.add_error(diag::System::Writer, "unknown image format"); in EmitImageFormat() 364 diagnostics_.add_error(diag::System::Writer, "unknown access"); in EmitAccess() 440 diagnostics_.add_error(diag::System::Writer, "unknown texture type"); in EmitType() 464 diagnostics_.add_error(diag::System::Writer, in EmitType() 506 diagnostics_.add_error( in EmitType() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/glsl/ |
D | generator_impl.cc | 88 diagnostics_.add_error( in Generate() 142 TINT_ICE(Writer, diagnostics_) in Generate() 179 diagnostics_.add_error( in EmitBitcast() 323 TINT_UNREACHABLE(Writer, diagnostics_); in EmitBinary() 371 diagnostics_.add_error(diag::System::Writer, in EmitBinary() 430 TINT_ICE(Writer, diagnostics_) in EmitCall() 697 TINT_UNREACHABLE(Writer, diagnostics_) in EmitWorkgroupAtomicCall() 1004 diagnostics_.add_error( in EmitDataPackingCall() 1074 diagnostics_.add_error( in EmitDataUnpackingCall() 1093 TINT_UNREACHABLE(Writer, diagnostics_) in EmitBarrierCall() [all …]
|
/third_party/skia/third_party/externals/tint/fuzzers/ |
D | tint_common_fuzzer.h | 56 const tint::diag::List& Diagnostics() const { return diagnostics_; } in Diagnostics() 58 bool HasErrors() const { return diagnostics_.contains_errors(); } in HasErrors() 92 tint::diag::List diagnostics_; variable
|
D | tint_common_fuzzer.cc | 140 diagnostics_ = {}; in Run() 171 diagnostics_ = program.Diagnostics(); in Run()
|
/third_party/skia/third_party/externals/tint/src/writer/ |
D | text_generator.h | 104 const diag::List& Diagnostics() const { return diagnostics_; } in Diagnostics() 107 std::string error() const { return diagnostics_.str(); } in error() 228 diag::List diagnostics_; variable
|
/third_party/skia/third_party/externals/tint/src/inspector/ |
D | inspector.h | 46 std::string error() { return diagnostics_.str(); } in error() 48 bool has_error() const { return diagnostics_.contains_errors(); } in has_error() 142 diag::List diagnostics_; variable
|
D | inspector.cc | 211 TINT_UNREACHABLE(Inspector, diagnostics_); in GetEntryPoints() 575 diagnostics_.add_error(diag::System::Inspector, name + " was not found!"); in FindEntryPointByName() 580 diagnostics_.add_error(diag::System::Inspector, in FindEntryPointByName() 855 TINT_ICE(Inspector, diagnostics_) in GetOriginatingResources() 883 TINT_ICE(Inspector, diagnostics_) in GetOriginatingResources() 907 TINT_ICE(Inspector, diagnostics_) in GetOriginatingResources() 921 TINT_ICE(Inspector, diagnostics_) in GetOriginatingResources() 928 TINT_ICE(Inspector, diagnostics_) in GetOriginatingResources()
|