| commit | 976274374a17d389256f4220e495c75aed436def | [log] [tgz] |
|---|---|---|
| author | dan sinclair <dsinclair@chromium.org> | Tue Jul 08 10:47:36 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 08 10:47:36 2025 -0700 |
| tree | 060447cc43ade71ef4f7e6f76f42c7f37fc69504 | |
| parent | 5a01c9ad7b4079d4034a81245f64fff4777cd7f1 [diff] |
[spirv-reader][ir] Update access mode on storage buffers. WGSL doesn't have the concept of `NonWritable` on a structure member, but if every structure member is marked as `NonWritable` then we can treat the structure itself as `NonWritable`. Update the IR reader to honour this access mode. Bug: 429447716 Change-Id: I6d62898d8703671345330085a0164e4cced21636 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/251374 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.