commit | 6fc3f3edbc96a88efda03fa5558ab5aca6bc001a | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Mar 12 09:53:30 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 12 09:53:30 2025 -0700 |
tree | eab2e254aa58134ec664110409804704aa43242c | |
parent | 9e1e517551a27c6e25cdf805ebe7c4ede801cbc4 [diff] |
[tint][inspector] Walk globals only once in GetResourceBindings Previously many bespoke functions walked the globals computed a list of ResourceBinding, then results were aggregated. Instead walks globals once and for each of them decide if/how it should be turned into a ResourceBinding. This will simplify the future addition of support for BindingArray that will only need to be added in one place. end2end tests for MSL are updated because the order of bindings is modified by the sort in GetResourceBindings (that's used by FlattenBindings) Bug: 393558555 Change-Id: I795d4a60c444415bf5f69a513cbe4d318363bd42 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/229595 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Corentin Wallez <cwallez@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.