| commit | a471d9b7a8395cf6b940dbefda3b178707d18dae | [log] [tgz] |
|---|---|---|
| author | dan sinclair <dsinclair@chromium.org> | Tue Sep 02 13:50:22 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 02 13:50:22 2025 -0700 |
| tree | d1f4c5fffb581c5d9cbd30e90b862eb2527631f9 | |
| parent | 35b1b8d00df77807e592cf5d2a1c7261f738d1e4 [diff] |
Stop ir decoder from attempting to create invalid arrays. The array helpers expect the element type to exist. The IR fuzzer can try to create arrays without element types. Check in the decoder and return an invalid type if the element is a `nullptr` Fixed: 442253769 Change-Id: I4de8ab58e3cd4dff4102a0ade861463f22c6b295 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/260435 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> Auto-Submit: 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.