Commit 794df85d authored by Jinho Bang's avatar Jinho Bang Committed by Commit Bot

WebGPU: GPUVertexBufferDescriptor.stride member should be GPUBufferSize

This is to match the spec change[1].

[1] https://github.com/gpuweb/gpuweb/pull/423/files#diff-599c3a4f36042dec5cdc606f3c30dc38R913

Bug: 877147
Change-Id: I3fcf6505fd69caa6b3932145f937bc1b523b9244
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1844526Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Reviewed-by: default avatarFrançois Beaufort <beaufort.francois@gmail.com>
Commit-Queue: Jinho Bang <jinho.bang@samsung.com>
Cr-Commit-Position: refs/heads/master@{#703363}
parent 27577c3c
......@@ -5,7 +5,7 @@
// https://gpuweb.github.io/gpuweb/
dictionary GPUVertexBufferDescriptor {
required unsigned long long stride;
required GPUBufferSize stride;
GPUInputStepMode stepMode = "vertex";
required sequence<GPUVertexAttributeDescriptor> attributeSet;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment