Kotlin: Reland: Async adapter returns only the actual return value. Originally reviewed at: https://dawn-review.googlesource.com/c/dawn/+/270935 A 'Return' wrapper class is no longer created or used. The 'status' and 'message' values are used to raise exceptions when relevant, but not passed to the client. Relanded following - Removal of circular dependency between bindings and the helper classes when exceptions were in the helpers. - Fix unused value in test. - Fixed incorrect annotation placement in the adapted async function. Additional reland fix following improved understanding of Dawn errors and API council requirements: - Where the actual payload is ErrorType a custom exception is created. This allows popErrorScope() to raise the popped exception (Java-idiomatic). Bug: 456671498 Change-Id: If652cc95b80f29044f5883f98b35470f7bf4984a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/272314 Reviewed-by: Tarun Saini <sainitarun@google.com> Commit-Queue: Jim Blackler <jimblackler@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.