Allow c2y-extensions Passes in -Wno-c2y-extensions when building Dawn in a standalone checkout. The use of -pedantic causes -Wc2y-extensions to be added automatically, which is currently flagging use of __COUNTER__ in some histogram macros when rolling some build-related dependencies to be consistent with Chromium. Since these histograms were largely copied from Chromium and Chromium continues to use __COUNTER__ in their version, allow usage in Dawn. Bug: 452840620 Change-Id: I97d431a64c3f66afe639b3f5fcfe2a8ad62c9d73 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/275695 Commit-Queue: Brian Sheedy <bsheedy@google.com> 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.