commit | eaad2ef604dcdf4c1303e33a59fba74f87ea2e03 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Mon Jun 09 13:51:00 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 09 13:51:00 2025 -0700 |
tree | 388cf903134bb996605fd5ef1022c00226eda486 | |
parent | bfe86b3a6e681d45b428652c34f09da22e081ca8 [diff] |
[spirv-reader][ir] Support `OpSpecConstantComposite`. The `OpSpecConstantComposite` is the only way to build a composite object from spec constants. In WGSL there is no equivalent, so if the `OpSpecConstantComposite` has an attached `SpecId`, we error. In the case there is no `SpecId` associated, we can turn the `OpSpecConstantComposite` into a `Construct`. This construct needs to be emitted in the block of usage, as it can not appear in the root block. Bug: 398008657 Change-Id: I0ab4e55957aab63597d4e4eba87382738162422f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/245994 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.