Revert "[dawn][native] Remove error injector symbols when not enabled" This reverts commit 58b146a9831a06e04c0d3d7a1194f227c56b9f08. Reason for revert: breaks Dawn wire server fuzzer on roll into Chromium Failure Link: https://ci.chromium.org/ui/p/chromium/builders/try/linux-rel/2894192/overview Original change's description: > [dawn][native] Remove error injector symbols when not enabled > > EnableErrorInjector() and friends were confusingly allowed even when > DAWN_ENABLE_ERROR_INJECTION was not enabled. Fix that by simply not > defining them in that case. > > Bug: 553115993 > Change-Id: If725259e5cff89122ae4cf7e9682a4158830722e > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/341095 > Auto-Submit: Kai Ninomiya <kainino@chromium.org> > Reviewed-by: Brandon Jones <bajones@chromium.org> > Commit-Queue: Brandon Jones <bajones@chromium.org> # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 553115993 Change-Id: I189e943cdb17f653770137a6866b863ed1952fe0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/341695 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: James Price <jrprice@google.com> Auto-Submit: James Price <jrprice@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.