Corentin Wallez 1384e8b163 Replace VertexFormatUtils with a dawn_native table of formats
This replaces multiple switches with a single indexing into a data
table, and also adds information about the VertexFormatBaseType for
later validation.

Bug: dawn:1008
Change-Id: Ic3f564b0dc571cc0008a54785613f962ce223452
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/59030
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
2021-07-22 08:57:29 +00:00
..
2021-01-11 08:20:02 +00:00
2018-07-18 22:54:06 +02:00
2021-06-04 22:23:56 +00:00
2021-04-23 02:16:12 +00:00
2020-07-08 18:50:30 +00:00
2020-07-08 18:50:30 +00:00
2020-06-17 22:35:19 +00:00
2019-12-06 18:21:39 +00:00
2019-12-06 18:21:39 +00:00
2021-04-23 02:16:12 +00:00
2021-04-23 02:16:12 +00:00
2021-06-04 22:23:56 +00:00
2021-06-04 22:23:56 +00:00
2020-06-17 22:35:19 +00:00