commit | 7a64127a4110c6db3e4db2a9d5dd1fa337c8a64c | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Jun 29 17:37:41 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 29 17:37:41 2022 +0000 |
tree | 62c10c7a2e6c772d04d5c6eb9a9dc01b4b3572ac | |
parent | cf52af7b0f2d5bf7764ff9c3840c1ac38fb1ccb9 [diff] |
api_cpp.h: Fix alignas declaration following ChainedStruct. On 32bit Windows clang warns that alignas(ChainedStruct) uint64_t forces the uint64_t to have a smaller alignment than it naturally has. Fix this by making the alignas decoration take the max of alignof(ChainedStruct) and alignof(first member). Bug: dawn:1465 Change-Id: Ia5b73fc1be1fa56f36c5c360e719ef2a1dff7dd1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94940 Auto-Submit: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Takahiro <hogehoge@gachapin.jp> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: 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.