commit | c4b380b8af94fe8b7a61ae8bd3f735f9d7a51380 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@intel.com> | Fri May 13 08:56:56 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 13 08:56:56 2022 +0000 |
tree | b837d2ba2d93fa6731d1c78577171ce490482e5e | |
parent | ed6ff9c948005a23fb2d592c5ea069d778bca083 [diff] |
tint: Generalize sem::Vector to allow 16bits subtype This patch make `sem::Vector::Size()` and `Align()` more general to prepare for subtypes of 16bits, e.g. f16. Previously these methods assert that the subtypes are of 4bytes. Change-Id: Ic939f177e87faabdf17d1d404cee82a91072a179 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/90163 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.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.