Return a span for WriteHandle Source Builds on the previous changes to WriteHandle to support bounds checking and updates the public method to return a span instead of a separate data/size. The data/size methods are still present, though now private, because that's the only way we can properly overload them from Chromium. Bug: 487522152 Change-Id: If276cf5961a33102673b37388ea31612d0010005 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/296376 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Brandon Jones <bajones@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@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.