commit | cec9157045a27401899a170cc3cc75c3e2ea1c00 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Mar 12 13:13:24 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 12 13:13:24 2025 -0700 |
tree | bf5a881412fabae5b0923a9391b589d6264f3539 | |
parent | 3139d107ccde705e1eb9adfcaece133282406274 [diff] |
[spirv-reader][ir] Make IR OverrideIds optional. With the addition of `OpSpecConstant*` instructions there is a need to allow an `Override` in the IR to not have an ID associated. This means that the override could not be substituted in the given IR, but it could not be substituted in SPIR-V anyway. The WGSL path allows the override to be set using the name instead of the ID. Bug: 376304012 Change-Id: I9175faed76f0300f85ee428b83aa259fe85522b8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/230334 Commit-Queue: dan sinclair <dsinclair@chromium.org> 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.