commit | 85752dd4120cf5e120ddf4061be840d7e03f5b23 | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Thu Feb 06 14:52:16 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 06 14:52:16 2025 -0800 |
tree | f43421a85a810c0f24e8991a72d34a65f54c1263 | |
parent | 7103bafd99085e677fecb8cd2347102df77e9e85 [diff] |
[tint] Wrap accessing argc & argv to remove suppressions This adds in an utility for converting argc & argv passed into main() into a tint::Vector of the arguments. This is done because it is a known issue that accessing the c-style argv will always cause `-Wunsafe-buffer-usage` to fire, and this wrapper isolates this known needed suppression into a single location instead of being scattered across the code base. This CL cleans up a bunch of main.cc files using this new utility, though there is a couple exceptions. In remote_compile/main.cc the suppression is just narrowed, since there is non-main related issues in that file. There are some other main.cc files, like for the benchmark tool, that use a different broader suppression that are not touched. Bug: 394825124 Change-Id: I92ea0fbc0012ef0900214a1eaefc9fb89a63553d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/224915 Reviewed-by: dan sinclair <dsinclair@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ryan Harrison <rharrison@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.