dawn-cmake/docs/tint
Ben Clayton 75bc93c0df tint: Fix const eval of type conversions
These were quite spectacularly broken.

Also:
* Fix the definition of 'scalar' in `intrinsics.def`. This was in part why conversions were broken, as abstracts were materialized before reaching the converter builtin when they shouldn't have been.
* Implement `ScalarArgsFrom()` helper in `const_eval_test.cc`. This is used by the new conversion tests, and also implements part of the suggestion to improve tint:1709.

Fixed: tint:1707
Bug: tint:1709
Change-Id: Iab962b671305e868f92710912d2ed07e3338c680
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/105261
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
2022-10-11 20:36:48 +00:00
..
extensions Rename StorageClass to AddressSpace. 2022-10-03 14:05:23 +00:00
arch.md tint: Clean up legacy type cruft 2022-07-15 17:16:49 +00:00
compound_statements.md Add while statement parsing. 2022-06-16 12:01:27 +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 Rename StorageClass to AddressSpace. 2022-10-03 14:05:23 +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 tint: Fix const eval of type conversions 2022-10-11 20:36:48 +00:00
spirv-input-output-variables.md Rename StorageClass to AddressSpace. 2022-10-03 14:05:23 +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 Rename StorageClass to AddressSpace. 2022-10-03 14:05:23 +00:00