commit | 9dd2e3f23bb8b463d79b91b7a08d53ef29f3a2d2 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Aug 26 02:25:04 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 26 02:25:04 2025 -0700 |
tree | 13c2a2efd344b3112466faf87e73392bc72dd8d1 | |
parent | 4555cea9e310887a8065c4b7ff091f71ee1549d6 [diff] |
[dawn][native] Add BindGroup::Destroy(), only for dynamic binding arrays Dynamic binding arrays may contain an arbitrary amount of data. Add a .destroy() method like for other container objects, except that it is only allowed if the BindGroup has a dynamic array. Add tests for this, and since the tests no longer test the creation of BindGroup/Layout, add bindless MakeBindGroup/Layout utilities for use in these new tests. Bug: 435317394 Change-Id: I2168bd8df4f945d9efbcae84e9f0a0fd14016181 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/258295 Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: Geoff Lang <geofflang@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.