[utils] Add HeapArray Add dawn::HeapArray, similar to base::HeapArray. It is like std::unique_ptr<T[]>, but carries its size so it can be used safely. Unlike base::HeapArray, it uses a typed index. Note that unlike dawn::Span, it's always index-typed. Clients use dawn::HeapArray<size_t, T> if they want untyped indices. Used subsequently. Bug: 512465980 Change-Id: I971cbcb95c75d296295bc885f07672ab8ff92451 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/302858 Auto-Submit: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Kai Ninomiya <kainino@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.