Home
last modified time | relevance | path

Searched refs:TINT_ASSERT (Results 1 – 25 of 65) sorted by relevance

123

/third_party/skia/third_party/externals/tint/src/sem/
Dloop_statement.cc29 TINT_ASSERT(Semantic, parent); in LoopStatement()
30 TINT_ASSERT(Semantic, function); in LoopStatement()
40 TINT_ASSERT(Semantic, parent); in LoopContinuingBlockStatement()
41 TINT_ASSERT(Semantic, function); in LoopContinuingBlockStatement()
Dswitch_statement.cc29 TINT_ASSERT(Semantic, parent); in SwitchStatement()
30 TINT_ASSERT(Semantic, function); in SwitchStatement()
43 TINT_ASSERT(Semantic, parent); in CaseStatement()
44 TINT_ASSERT(Semantic, function); in CaseStatement()
Dmatrix_type.cc30 TINT_ASSERT(AST, rows_ > 1); in Matrix()
31 TINT_ASSERT(AST, rows_ < 5); in Matrix()
32 TINT_ASSERT(AST, columns_ > 1); in Matrix()
33 TINT_ASSERT(AST, columns_ < 5); in Matrix()
Dblock_statement.cc45 TINT_ASSERT(Semantic, function); in FunctionBlockStatement()
54 TINT_ASSERT(Semantic, parent); in LoopBlockStatement()
55 TINT_ASSERT(Semantic, function); in LoopBlockStatement()
Dvector_type.cc26 TINT_ASSERT(Semantic, width_ > 1); in Vector()
27 TINT_ASSERT(Semantic, width_ < 5); in Vector()
Dpointer_type.cc29 TINT_ASSERT(Semantic, !subtype->Is<Reference>()); in Pointer()
30 TINT_ASSERT(Semantic, access != ast::Access::kUndefined); in Pointer()
Dreference_type.cc28 TINT_ASSERT(Semantic, !subtype->Is<Reference>()); in Reference()
29 TINT_ASSERT(Semantic, access != ast::Access::kUndefined); in Reference()
Dexpression.cc32 TINT_ASSERT(Semantic, type_); in Expression()
/third_party/skia/third_party/externals/tint/src/ast/
Dmatrix.cc31 TINT_ASSERT(AST, rows > 1); in Matrix()
32 TINT_ASSERT(AST, rows < 5); in Matrix()
33 TINT_ASSERT(AST, columns > 1); in Matrix()
34 TINT_ASSERT(AST, columns < 5); in Matrix()
Dcall_expression.cc42 TINT_ASSERT(AST, name); in CallExpression()
45 TINT_ASSERT(AST, arg); in CallExpression()
55 TINT_ASSERT(AST, type); in CallExpression()
58 TINT_ASSERT(AST, arg); in CallExpression()
Dbinary_expression.cc30 TINT_ASSERT(AST, lhs); in BinaryExpression()
32 TINT_ASSERT(AST, rhs); in BinaryExpression()
34 TINT_ASSERT(AST, op != BinaryOp::kNone); in BinaryExpression()
Dif_statement.cc33 TINT_ASSERT(AST, condition); in IfStatement()
35 TINT_ASSERT(AST, body); in IfStatement()
38 TINT_ASSERT(AST, el); in IfStatement()
Dstruct_member.cc30 TINT_ASSERT(AST, type); in StructMember()
31 TINT_ASSERT(AST, symbol.IsValid()); in StructMember()
34 TINT_ASSERT(AST, deco); in StructMember()
Dfunction.cc44 TINT_ASSERT(AST, param && param->is_const); in Function()
47 TINT_ASSERT(AST, symbol.IsValid()); in Function()
48 TINT_ASSERT(AST, return_type); in Function()
Dmodule.cc63 TINT_ASSERT(AST, var); in AddGlobalVariable()
70 TINT_ASSERT(AST, type); in AddTypeDecl()
77 TINT_ASSERT(AST, func); in AddFunction()
Dbitcast_expression.cc29 TINT_ASSERT(AST, type); in BitcastExpression()
30 TINT_ASSERT(AST, expr); in BitcastExpression()
Dindex_accessor_expression.cc29 TINT_ASSERT(AST, object); in IndexAccessorExpression()
31 TINT_ASSERT(AST, idx); in IndexAccessorExpression()
Dmember_accessor_expression.cc30 TINT_ASSERT(AST, structure); in MemberAccessorExpression()
32 TINT_ASSERT(AST, member); in MemberAccessorExpression()
Dassignment_statement.cc29 TINT_ASSERT(AST, lhs); in AssignmentStatement()
31 TINT_ASSERT(AST, rhs); in AssignmentStatement()
Dswitch_statement.cc29 TINT_ASSERT(AST, condition); in SwitchStatement()
32 TINT_ASSERT(AST, stmt); in SwitchStatement()
Dcase_statement.cc29 TINT_ASSERT(AST, body); in CaseStatement()
32 TINT_ASSERT(AST, selector); in CaseStatement()
Dvector.cc30 TINT_ASSERT(AST, width > 1); in Vector()
31 TINT_ASSERT(AST, width < 5); in Vector()
Dstruct.cc34 TINT_ASSERT(AST, mem); in Struct()
38 TINT_ASSERT(AST, deco); in Struct()
/third_party/skia/third_party/externals/tint/src/
Ddebug_test.cc32 TINT_ASSERT(Test, true); in TEST()
36 EXPECT_FATAL_FAILURE({ TINT_ASSERT(Test, false); }, in TEST()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.cc792 TINT_ASSERT(Reader, !finalized_ /* Finalize() must only be called once */); in Finalize()
808 TINT_ASSERT(Reader, in Add()
821 TINT_ASSERT(Reader, !statements_stack_.empty()); in PushGuard()
822 TINT_ASSERT(Reader, !guard_name.empty()); in PushGuard()
839 TINT_ASSERT(Reader, !statements_stack_.empty()); in PushTrueGuard()
852 TINT_ASSERT(Reader, !statements_stack_.empty()); in ast_body()
860 TINT_ASSERT(Reader, !statements_stack_.empty()); in AddStatement()
868 TINT_ASSERT(Reader, !statements_stack_.empty()); in LastStatement()
870 TINT_ASSERT(Reader, !statement_list.empty()); in LastStatement()
892 TINT_ASSERT(Reader, !ep_info_->inner_name.empty()); in Emit()
[all …]

123