[dawn][native] Add support for spanifying input function Changes the code generation of the dawn::native proc table to be able to convert size_t + T* arguments into dawn::Spans before calling the corresponding function / method in dawn::native. - Add a blocklist to dawn_native.json so that functions can be converted incrementally. We should aim to get it to 0 entries and remove the blocklist mechanism. - Spanify InstanceWaitAny to check on at least on function that the change works. - Add a `is_length` member to `RecordMember` that can be used in templates to skip over length argument when needed. Bug: 515272358, 524405497 Change-Id: Ib7e9a144ae3d9d15fd8c7f6f97164405c9a5922a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/316455 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@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.