dawn-cmake/docs
James Price 26ebe5ec36 tint: Refactor if-else statement representation
Instead of using an `if` node that has a list of `else` statements,
make each `if` statement have a single optional `else` statement,
which may itself be an `if` statement (or just a block statement).

This better matches the WGSL grammar (now that we have removed
`elseif`), and simplifies various pieces of code that handle these
statements.

Change-Id: Ie4272f1422224490ac598a03aa8b4dd00ba03010
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87940
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: James Price <jrprice@google.com>
2022-04-29 00:14:53 +00:00
..
dawn Cleanup duplicate files; Combine README and build docs. 2022-04-28 16:25:43 +00:00
imgs Shuffle 'docs' directories 2022-01-27 18:33:47 +00:00
tint tint: Refactor if-else statement representation 2022-04-29 00:14:53 +00:00
OWNERS Add top-level OWNERS and scope Tint owners more tightly. 2022-04-07 17:59:14 +00:00
building.md Cleanup duplicate files; Combine README and build docs. 2022-04-28 16:25:43 +00:00