| commit | 12c034a31f4a6a102e6bb5300ec7bf86bd403f39 | [log] [tgz] |
|---|---|---|
| author | James Price <jrprice@google.com> | Fri Aug 08 07:48:55 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 08 07:48:55 2025 -0700 |
| tree | 0cae31859e115d9f3fbed72149cdf7cec4564dab | |
| parent | 2a5ac1dd837bf9bf68c14866710b9e672fd646ea [diff] |
[tint] Always expose SpirvToWgsl An external user that includes `tint.h` will not have defined the macros needed to enable this function. We should not require that external users always build their code with the same macros that Tint was built with. Instead, this change always exposes SpirvToWgsl, which will then return an error if Tint itself was not built with the required macros. Change-Id: I154a3f91aa5bedb690b2d98139c44cf4c569e796 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/256576 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.