[wgpu-headers] Updates mapAsync callback to match wgpu-header. - Introduces 2nd userdata. - Updates status and include message. Note that we are using a new status enum all together to (1) standardize the enum naming with the other async entry points, and (2) make it easier to update users. - Note that usages will be updated in a follow up together with onSubmittedWorkDone since these callbacks have some dependencies. Bug: 42241461 Change-Id: Ic42ee38213a2df907c02001f9636dbbdca86ef37 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/188444 Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: 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.