[dawn][native] Add support for typed spans in input functions Changes the code generation of the dawn::native proc table to additionally use `ityp::Span` when converting size_t + T* to directly use the correct index type used inside dawn::native. The definition of index type to use is added in dawn_native.json and all the SetBindGroup methods are spanified, to check that the template changes work correctly. Bug: 515272358, 524406299, 524554511 Change-Id: I3ad70d9881f8ab7897c4f0fb38308df223f29acc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/316875 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Corentin Wallez <cwallez@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.