dawn-cmake/test
Antonio Maiorano 03c01b5266 Move function validation from Validator to Resolver
* Fixed many tests that now failed validation. Most of the time,
functions declared that they returned a type, but with no return
statement.
* ProgramBuilder::WrapInFunction now returns the function is creates,
and std::moves its StatementList.
* ProgramBuilder: Added Return function to create ast::ReturnStatements
more easily.

Bug: tint:642
Change-Id: I3011314e66e264ebd7b89bf9271392391be6a0e5
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/45382
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2021-03-19 14:04:51 +00:00
..
BUILD.gn Move function validation from Validator to Resolver 2021-03-19 14:04:51 +00:00
compute_boids.wgsl Fix test/compute_builds.wgsl 2021-03-17 18:43:53 +00:00
cube.wgsl Implement Default Struct Layout 2021-03-15 10:43:11 +00:00
function.wgsl Update comments in test WGSL files. 2021-01-12 18:13:28 +00:00
simple.wgsl Update comments in test WGSL files. 2021-01-12 18:13:28 +00:00
test-all.sh Add test/test-all.sh 2021-03-17 18:49:03 +00:00
triangle.wgsl Update builtin idx names. 2021-01-18 15:51:13 +00:00