commit | a5ded402136cc3e734bcf5692c3534f7aa2e5afd | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu May 09 15:07:53 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 09 15:07:53 2024 +0000 |
tree | e8e11e7fcbbd66e045a21bbc4794488f299adfce | |
parent | 71c9a7ab29dac9defe1a7a9ed52cb86d7b34152f [diff] |
[ir] Add ReferencedModuleVars helper This is a stateful helper that returns (and caches) the module-scope variables that are transitively referenced by a function. Some work is done on creation to determine which variables are directly referenced by which blocks. The remaining work is done when the references for a function are actually requested. Update the ZeroInitializeWorkgroupMemory transform to use this helper. Change-Id: I522d6521a61a94bf255ca9d9ff3d7d5998a2b69e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/169222 Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> 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.