dawn-cmake/src
Antonio Maiorano 06feb3f287 Finish moving call validation from Validator to Resolver
Call validation was already implemented in Resolver. This change
completes it by deleting the relevant code in Validator, and moving and
updating the builtins validation test to use the Resolver.

Also added the "v-0004" error code for when detecting recursion, as was
done for the similar error in the Validator.

Bug: tint:642
Bug: tint:487

Change-Id: If7973bfd2d19681a0cbf48c6d427e17a3b927cde
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/45463
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-03-22 17:42:06 +00:00
..
ast Remove ast::NullLiteral 2021-03-22 16:06:35 +00:00
diagnostic Move struct validation from Validator to Resolver 2021-03-18 17:59:54 +00:00
inspector Resolver: Check that initializers and assignments are valid 2021-03-18 21:14:44 +00:00
reader [wgsl-reader] Disallow explicit storage classes on handle types 2021-03-22 15:49:16 +00:00
resolver Finish moving call validation from Validator to Resolver 2021-03-22 17:42:06 +00:00
semantic semantic: Clean up intrinsics 2021-03-19 16:45:10 +00:00
transform Resolver: Check that initializers and assignments are valid 2021-03-18 21:14:44 +00:00
type Validate binary operations 2021-03-16 13:26:03 +00:00
utils Add src/utils/math.h 2021-03-15 13:37:41 +00:00
validator Finish moving call validation from Validator to Resolver 2021-03-22 17:42:06 +00:00
writer writer/spirv: Clean up constant generation 2021-03-22 15:32:35 +00:00
BUILD.gn Remove ast::NullLiteral 2021-03-22 16:06:35 +00:00
CMakeLists.txt Finish moving call validation from Validator to Resolver 2021-03-22 17:42:06 +00:00
block_allocator.h Add tint::BlockAllocator<T> 2021-01-21 15:30:10 +00:00
block_allocator_test.cc Add tint::BlockAllocator<T> 2021-01-21 15:30:10 +00:00
castable.cc Pull Is() out of castable and into a new TypeInfo 2021-03-02 20:30:08 +00:00
castable.h Add CastableBase::To() overload with predicate 2021-03-15 19:55:02 +00:00
castable_test.cc Remove unusued param 2021-03-15 21:28:22 +00:00
clone_context.cc Remove all unnecessary includes 2021-03-09 11:11:17 +00:00
clone_context.h [spirv-writer] Handle non-struct entry point return values 2021-03-17 14:24:04 +00:00
clone_context_test.cc ast: Replace IsValid() with TINT_ASSERT() 2021-03-10 11:41:49 +00:00
debug.cc Remove all unnecessary includes 2021-03-09 11:11:17 +00:00
debug.h debug: Add TINT_UNIMPLEMENTED() 2021-03-17 04:55:33 +00:00
debug_test.cc Add TINT_ASSERT() 2021-03-09 13:52:18 +00:00
demangler.cc Remove all unnecessary includes 2021-03-09 11:11:17 +00:00
demangler.h Simplify calls to ast::Node::[to_]str() 2021-01-29 11:22:40 +00:00
demangler_test.cc Demangler: Change signature of primary Demangle() function 2021-01-26 16:57:10 +00:00
intrinsic_table.cc Flatten ast::Decoration class hierarchy 2021-03-11 17:39:32 +00:00
intrinsic_table.h Remove all unnecessary includes 2021-03-09 11:11:17 +00:00
intrinsic_table_test.cc Remove all unnecessary includes 2021-03-09 11:11:17 +00:00
program.cc Resolver: Place into a resolver namespace 2021-03-09 15:08:48 +00:00
program.h Remove all unnecessary includes 2021-03-09 11:11:17 +00:00
program_builder.cc Move function validation from Validator to Resolver 2021-03-19 14:04:51 +00:00
program_builder.h Move function validation from Validator to Resolver 2021-03-19 14:04:51 +00:00
program_builder_test.cc Have ProgramBuilder::Func() register the function 2021-02-02 14:29:15 +00:00
program_test.cc ast: Replace IsValid() with TINT_ASSERT() 2021-03-10 11:41:49 +00:00
scope_stack.h Add std::hash<tint::Symbol> specialization 2021-01-11 22:02:42 +00:00
scope_stack_test.cc Remove all unnecessary includes 2021-03-09 11:11:17 +00:00
source.cc Source: Restructure Source::File 2021-02-18 21:40:19 +00:00
source.h Fix VS clang-cl build 2021-03-09 21:51:50 +00:00
symbol.cc Add a symbol table. 2020-12-10 16:56:02 +00:00
symbol.h Add std::hash<tint::Symbol> specialization 2021-01-11 22:02:42 +00:00
symbol_table.cc Add SymbolTable::New() 2021-02-11 14:54:41 +00:00
symbol_table.h Add SymbolTable::New() 2021-02-11 14:54:41 +00:00
symbol_table_test.cc Add SymbolTable::New() 2021-02-11 14:54:41 +00:00
symbol_test.cc Add a symbol table. 2020-12-10 16:56:02 +00:00
test_main.cc Remove all unnecessary includes 2021-03-09 11:11:17 +00:00
traits.h Remove all unnecessary includes 2021-03-09 11:11:17 +00:00
traits_test.cc Remove all unnecessary includes 2021-03-09 11:11:17 +00:00