commit | a92f4259d51ddbc16aef725c82dd23bc2411fe6f | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Oct 27 14:36:49 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 27 14:36:49 2022 +0000 |
tree | 21623d5cb80b2c9837a0308bf5fb112d91b30815 | |
parent | 59c098242675dcf215e892aadefe991a4468b669 [diff] |
tint/writer/msl: Move packed_vector hacks to transform Attempting to paper over all the MSL standard library holes for packed_vector in the MSL writer added complexity to the writer, produced messy output, and didn't actually catch all the cases where casts were needed. Add a new PackedVec3 transform that applies the packed_vector -> vec casts in a smarter, more precise way. Fixed: tint:1534 Change-Id: I73ce7e5a62fbc9cb04e1093133070f5fb8965dce Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/107340 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@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.