Li Hao fef613365a Fix zero stride in input state for Metal validation
Update stride value to max(attribute.offset + sizeof(attribute) for
each attribute) when input stride is 0 in Metal backend

BUG=dawn:75
TEST=dawn_end2end_tests

Change-Id: Ic0b2bfc685b8aeb92d1d4401174a819279386ea3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/5221
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-03-18 12:26:07 +00:00
..
2019-03-11 16:52:42 +00:00
2019-02-27 09:21:56 +00:00
2019-03-11 16:52:42 +00:00
2019-03-06 22:42:22 +00:00
2019-03-06 22:42:22 +00:00
2019-02-27 09:21:56 +00:00
2018-09-05 08:32:53 -04:00
2019-03-06 22:42:22 +00:00
2019-03-11 16:52:42 +00:00
2019-03-11 16:52:42 +00:00
2019-02-27 09:21:56 +00:00