Revert "Remove `ConvertibleStatus` from `api_cpp.h`" This reverts commit f76b196d24d5f7d3c4afce51a8a46414003cee66. Reason for revert: Causing issues with Dawn->Chromium because of optimization guide / g3. Original change's description: > Remove `ConvertibleStatus` from `api_cpp.h` > > This patch removes `ConvertibleStatus` from `api_cpp.h` and all > the calls that treat the return value from Enum `Status` to boolean. > > Bug: 42241199 > Change-Id: If8d4f924a05733345db95211513b976b410a4f40 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/325755 > Commit-Queue: Loko Kung <lokokung@google.com> > Reviewed-by: Loko Kung <lokokung@google.com> > Reviewed-by: Corentin Wallez <cwallez@chromium.org> TBR=cwallez@chromium.org,jiawei.shao@intel.com,dawn-scoped@luci-project-accounts.iam.gserviceaccount.com,lokokung@google.com No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 42241199 Change-Id: I59d0d1ebec9229f897c465adf6cea6dca6b40c31 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/326895 Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: Brandon Jones <bajones@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.