[dawn][native] Implement BindGroup::InsertBinding - Add a method to DynamicArrayState to return the first free slot (if any). It is O(n) for now but could be optimized to be O(logN) with a heap in the future. - Implement the bulk of InsertBinding using the method above and deferring the rest to Update(). - Add tests for the behavior of InsertBinding. Bug: 435317394 Change-Id: Iee708c6a0132962608075c395549ff2f16cd9c40 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276315 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Geoff Lang <geofflang@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.