commit | a0b31e04e80a8d28d72d2e6deab622603d68ced1 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Mon Jun 28 08:38:28 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 28 08:38:28 2021 +0000 |
tree | b9f1bc4e5f0ee6685608cf2236e8dd5f66d2b058 | |
parent | 610de1d72543f4e032e104ce61d8f902ecafc87f [diff] |
Add missing structure padding to test WGSL specifies that the size of a host-shareable structure is a multiple of the largest alignment of any member in that structure. While SPIR-V cross doesn't generate this trailing padding, Tint does, and so we need to pad the host structure to match to avoid validation errors. Bug: dawn:571 Change-Id: Id5de89125a74c0469ae69d6e86b4c570bbdb31ab Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/56120 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Auto-Submit: James Price <jrprice@google.com> Reviewed-by: Corentin Wallez <cwallez@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.