commit | 75a8574b295236415da8ef6d06fc5790c3a69330 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Wed Oct 12 00:55:37 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 12 00:55:37 2022 +0000 |
tree | 110e6bea3ca99bad3e2530a22b93c8e42593a68f | |
parent | a44e3d8bea3f4e4430c04b20695ff0812ac32a52 [diff] |
Validate effective storage or read-only storage buffer size be multiple of 4 This patch adds a validation that the effective buffer size must be a multiple of 4 when the binding type is storage or read-only storage to match the latest WebGPU SPEC. This patch also fixes some typos in BindGroupValidationTests. Bug: dawn:1542 Test: dawn_unittest Change-Id: I30234bcf718be0d82d4a09b9980127a98ebe8172 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/105101 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.