dawn-cmake/docs/tint
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
..
arch.md tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
compound_statements.md tint: Refactor if-else statement representation 2022-04-29 00:14:53 +00:00
coverage-info.md tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
diagnostics_guide.md tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
end-to-end-tests.md tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
experimental_extensions.md tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
origin-trial-changes.md Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
spirv-input-output-variables.md tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
spirv-ptr-ref.md tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
style_guide.md tint: Standardize the way we forward-declare 2022-04-11 14:37:21 +00:00
translations.md tint: Replace smoothStep with smoothstep in tests 2022-04-14 19:49:10 +00:00