Enable clang unsafe buffers plugin and add exceptions in dawn/wire. This change adds a default gn arg to enable the unsafe buffers clang plugin. It also adds an unsafe_buffers_paths.txt to beging adding exceptions, and adds pragmas in dawn/wire to enable that plugin within that directory. Follow up CLs will remove the exception paths and add necessary pragmas. Bug: 438937152 Change-Id: Iafeac5028b18fc357e69c78b7271e2ba4018ff14 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/262114 Auto-Submit: Liza Burakova <liza@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@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.