commit | 23cf74c30ea598dd18682eb041217f0e34bd46ad | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Sep 07 20:05:54 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 07 20:05:54 2022 +0000 |
tree | 61a84c26475625a027c853acc6e78260c2e14369 | |
parent | 5881e735f935e9c0079c0a8ffbeae98a3d3de582 [diff] |
Allow sem::GlobalVariable to hold a location. During some transforms we may move an entry point parameter to a global variable. This means the global may now have a Location attached where it isn't permitted by the WGSL spec. This CL adds a `location` to the GlobalVariable sem value and populates it in the resolver. Bug: tint:1633 Change-Id: I684f715fe52d39a0f890fe76c627c1ae543fc746 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101462 Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.