Stop formatting generated cc and h files. Update the tint generator script to no longer call `clang-format` on any generated `cc` or `h` file. Instead wrap those files in a `clang-format off/on` pair so formatting will be skipped. This saves about 7s on a run of `./tools/run gen` on my M3 Mac. Change-Id: I7f7e16945b97b166d04b9505accdf49b9b25f691 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/259274 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: 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.