commit | 17fe9c968a351c0251ecd4bb196cc12645091b2d | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Mar 11 18:19:13 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 11 18:19:13 2025 -0700 |
tree | b5cf4276d1d2f01cc54918b71f1df76ea4ea1e7e | |
parent | 602cb9d58812c396f0846ff99130b4207fdf5229 [diff] |
[spirv] Add struct flag for explicit layout decorations Instead of running a pass in the printer to determine which structs will need explicit layout decorations, just have the `ForkExplicitLayoutTypes` transform add a struct flag to signal that information to the printer, since it already knows which structs will need the decorations. This currently requires a `const_cast` due to long-standing tech debt that causes types to be immutable in IR transforms. Bug: 42252012 Change-Id: Ifb0aa90a47fb92ec30559f0d76c9b92adc959e7c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/230134 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.