commit | 4fa9b1bb1111724f654e024b11023166614100f3 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Oct 08 02:14:42 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 08 02:14:42 2024 +0000 |
tree | e5ed767ada03ac55bda6f5e30bc0d50819ae5e25 | |
parent | 8055bf4a0d14505bd20f792021c7af4119503077 [diff] |
[wgsl] Resolve push_constant access as read-only The push constant address space is always read only, so make sure we resolve it's access mode as `read` instead of `read_write`. This was causing IR validation failures for some tests that use user-defined push constants. Change-Id: Ibcffb04e9edca02302202c683a7f34165702f624 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/209914 Commit-Queue: dan sinclair <dsinclair@chromium.org> Auto-Submit: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: 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.