commit | c9e7c84459099c76f349926b4f61af197425079c | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Mon Mar 03 16:42:50 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 03 16:42:50 2025 -0800 |
tree | 2d90434d3f92fc8999900f755a3baf47b793e0b4 | |
parent | 9c2902b7e152991223e440481831b9713032086c [diff] |
[spirv] Only add explicit layout decorations on types that need them Find all of the array and structure types that require explicit layout decorations before emitting any instructions, so that we can add the layout decorations when the types are emitted. This does not address the case where a type is used in multiple address space, which will be handled by a new transform that forks those types. Bug: 42252012 Change-Id: I4ee37d36d97c729b73fef89782881e1557fbb0ce Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/228834 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.