Ben Clayton 34d46731bb tint: Replace VectorRef with ConstVectorRef.
The elements of the VectorRef is now immutable, but can be
moved, if the caller relinquishes ownership by explicitly using
std::move() at the callsite.

Also add utils::Empty as a way of signalling that a vector should be
constructed with no elements. This is helpful in templated code where
{} cannot be used due to overload ambiguity.

Change-Id: I24a50a13956b0692771a8bc9046336ad46261562
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97842
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-02 16:52:25 +00:00
..
2022-07-26 14:19:54 +00:00
2022-05-05 15:34:41 +00:00
2022-05-05 15:34:41 +00:00
2022-07-21 23:32:24 +00:00
2022-07-21 23:32:24 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-07-25 23:37:34 +00:00
2022-07-21 19:34:05 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-25 14:29:54 +00:00
2022-05-01 14:40:55 +00:00
2022-07-26 22:51:36 +00:00