commit | 602cb9d58812c396f0846ff99130b4207fdf5229 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Mar 11 18:19:06 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 11 18:19:06 2025 -0700 |
tree | 0b99b6b7ccf51bcdf2942fbdaff4a1a843d02123 | |
parent | cf3899ffab5d4e2e015c56e72bb48fa0209559fe [diff] |
[spirv] Handle arrays in ForkExplicitLayoutTypes transform Add a new `ExplicitLayoutArray` type for the SPIR-V backend to use to identify arrays that need to be emitted with layout decorations. This allows us to define another array type that is distinct from the equivalent array that will not have the decorations. Update the transform to create these new array types, and to convert them to/from the original array types. Bug: 42252012 Change-Id: I92cd7179472df6b9948fd9d809e1ad601cf64191 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/229977 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
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.