commit | 77eb171a92a68066273730f7bc049ab1132a4eaa | [log] [tgz] |
---|---|---|
author | Shrek Shao <shrekshao@google.com> | Thu Jun 12 17:52:23 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 12 17:52:23 2025 -0700 |
tree | 62affa4ba1a8166d703678d4950253ea5d3deb69 | |
parent | fd6148a3d16526bb6895d831459c9bf1fdf12af1 [diff] |
[WebGPU backend] Add a CheckWGPUSuccess macro CheckWGPUSuccess(resultIn, "do something") static_cast various WebGPU status enum to webgpu::GenericStatus, assuming all "success" status have the same value of 1. Bug: 413053623 Change-Id: I544b4f36e6eb7309f092ec29f61746dc34e8dd4d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/246254 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Shrek Shao <shrekshao@google.com> Reviewed-by: Corentin Wallez <cwallez@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.