commit | 8753796aaca097153af3ccebdd0f17d80d25bb9f | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Dec 06 18:32:19 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 06 18:32:19 2022 +0000 |
tree | 320c7f69f8c4845183f8b4da2f10869feb33d35c | |
parent | f2b8d2b1abd29cd9c345b4731698295f738575f7 [diff] |
tint: Add PreservePadding transform This is used to ensure that assignments to host-visible memory do not modify padding bytes in structures and arrays. We decompose assignments of whole structure and array types into member-wise or element-wise copies, using helper functions. This is used in all backends except HLSL, which already decomposes memory accesses. Bug: tint:1571 Change-Id: Id6de2f917fb80151cc654a7e1c8413ae956f0d61 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/112720 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: James Price <jrprice@google.com>
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.