[utils] clang-tidy: Make ityp::array an aggregate type
This makes cppcoreguidelines-pro-type-member-init work on it the same
way it works for std::array. See comment for details.
Add value-initialization to all of the places that trigger the check
after this change. (None of them warranted NOLINT.)
Asides:
- Move a few NOLINTs for std::arrays (not ityp::arrays) around to match
where they're are actually triggering. (I'm not sure why this
happened, maybe clang-tidy is behaving differently on my machine,
there was a version change, or the NOLINTs were just not working
before.)
- Also write SAFETY comments for these. (We should add a presubmit
check for that. Tracked in bug 501491694.)
- Fix the one last remaining instance of that clang-tidy check in
non-generated code, by initializing dawn::native::Extent3D::width and
dawn::native::AHBSharedTextureMemoryProperties::isProtected.
Fixed: 553648787
Change-Id: I2688d55be472fe10f7188267f76b4ed513f159e7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/337635
Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Shrek Shao <shrekshao@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.