commit | 73f549518a7da965c28522f4ca7bca180d455a93 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu May 16 21:44:59 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 16 21:44:59 2024 +0000 |
tree | fa0018750539d5f8e411aa6c1cfd57ca0308b857 | |
parent | 47d4869ed035b8ac268ac375fe64f74c3cc90f02 [diff] |
[msl] Add ModuleScopeVars transform Pass a structure containing a pointer for each module-scope variable down the call-stack to any functions that need it. The structure is created by the entry point using entry-point parameters and function-scope declarations. Handles `private`, `storage`, and `uniform` address spaces. Other address spaces will be added in future patches. Bug: 42251016 Change-Id: I0f9ac2d292ab5a8e01049f425c5e124697f90c65 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/188342 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.