Fix some loud clang-tidy warnings Fixes ~4000 of the currently-enabled warnings from run-tricium-clang-tidy.py --default, with most being in generated files. There are ~3000 remaining in total. Fixes for generated files: - Skip files generated by protobuf. - Disable enum->enum class warnings for parts of public API. - Disable warning for 'enum initialized to 0 but has no value for 0' for parts of public API where that's intentional. - Disable 'switch with only one case' for some generated code. - Disable 'use enum instead of macro' for generated GL header. - Fix warning on bitwise ops on signed numbers by adding `u` suffixes. - Fix some private overloads of public methods. - Fix some redundant `virtual` on overridden methods in Node. - Fix some redundant `typename`. - Fix some redundant `using Thing = path::to::Thing;`. Bug: 501491694 Change-Id: I3ce82ca880316c237211c00ba1aab1b32953888b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/321276 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.