| commit | f94c816d4019f0e8629ba7b5d3e0a826f3d68cc0 | [log] [tgz] |
|---|---|---|
| author | dan sinclair <dsinclair@chromium.org> | Tue Mar 25 11:14:52 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 25 11:14:52 2025 -0700 |
| tree | 21c8110cd97350f2368c7d9091643a98e9377e46 | |
| parent | 9189a89daf0222d2db3f3964c9f4e4d42b1a2740 [diff] |
[dawn] Fix validation for override not in module. According to the WebGPU spec, when setting constants into the pipeline: `The pipeline-overridable constant is not required to be statically used by entryPoint.` This is currently treated as an error in Dawn and the pipeline fails. Remove the validation for the Id to be present in the module. Bug: 338624452 Change-Id: I4bdc3e6cddf032695541787d2de9e3dbaa1d5410 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/231835 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Auto-Submit: dan sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@google.com> Reviewed-by: James Price <jrprice@google.com>
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.