[dawn][tint] Rerun formatters on all C++-like and Python files A significant number of formatting errors had somehow crept in. Many of these were indentation that I believe is due to imprecision in `git cl format`'s heuristic to avoid reformatting unchanged lines. Some of them are most likely due to changes in clang-format itself. In addition to fixing incorrectly formatted code, this also makes it possible to use IDE/editor clang-format integrations, which won't have that heuristic. - First fixed a missing `// clang-format off` directive in `Format.cpp` - Then ran: git ls-tree -r main --name-only | grep -E '\.(h|c|cpp|cc|m|mm)$' | xargs clang-format -i git ls-tree -r main --name-only | grep -E '\.py$' | xargs yapf -i - Then reran `git cl format` to confirm that those commands used the correct config. Bug: None Change-Id: I685b6d00e0960934fd0ca9c9e7c5963e554f35bf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/289816 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: dan sinclair <dsinclair@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.