commit | c40e15c505d10169e56f3ba466ee21fe51bb767a | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Jun 19 15:11:10 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 19 15:11:10 2025 -0700 |
tree | bfd8490f8352eb763cbf4e7c1116793a03f514d5 | |
parent | 138c518be4d383c984023d69a2599a798856c954 [diff] |
[spirv-reader][ir] Handle `BufferBlock` annotation. Support the `BufferBlock` annotation by re-writing the types of any pointer of with a `BufferBlock` struct internal to it. This is done in the parser as otherwise the emitted IR can contain things like runtime arrays in uniform buffers which is invalid. Bug: 391482883 Change-Id: I63e0f6a83943c6b53d9f0efeaf8d2ca03b8e6a6a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/247874 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.