Home
last modified time | relevance | path

Searched refs:diagnostics_ (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/tint/src/resolver/
Ddependency_graph.cc129 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 …]
Dresolver.cc87 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 …]
Dresolver_validation.cc271 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 …]
Dresolver.h86 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/
Dprogram.cc44 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 =()
Dprogram_builder.cc41 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()
Ddebug.cc32 : 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()
Dprogram.h108 return diagnostics_; in Diagnostics()
186 diag::List diagnostics_; variable
Ddebug.h72 diag::List& diagnostics_; variable
Dprogram_builder.h279 return diagnostics_; in Diagnostics()
285 return diagnostics_; in Diagnostics()
2562 diag::List diagnostics_; variable
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.cc224 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/
Dgenerator_impl.cc258 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/
Dgenerator_impl.cc84 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/
Dgenerator_impl.cc88 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/
Dtint_common_fuzzer.h56 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
Dtint_common_fuzzer.cc140 diagnostics_ = {}; in Run()
171 diagnostics_ = program.Diagnostics(); in Run()
/third_party/skia/third_party/externals/tint/src/writer/
Dtext_generator.h104 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/
Dinspector.h46 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
Dinspector.cc211 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()