4a65620716
If the array constructor has no explicit type and count, infer from the arguments. Implement and test array materialization. Also: * Change sem::AbstractNumeric::IsConstructable() to return true. This has changed in the WGSL spec. * Fix the test-helper builder for DataType<array<N, T>> - it was incorrectly calculating the array size. Bug: tint:1628 Change-Id: I0ec4e55b469ca6423b4d1848f27bb11df4fa683b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97663 Commit-Queue: Ben Clayton <bclayton@chromium.org> Reviewed-by: David Neto <dneto@google.com> |
||
---|---|---|
.. | ||
dawn | ||
tint | ||
Placeholder.cpp |