Explicitly list generator dependencies Updates dawn_json_generator and a template it depends on to properly declare and handle dependencies on various JSON files used for generation. Previously, we solely relied on an underlying usage of a depfile argument to surface these dependencies, which worked on the older GN recipe that did not use `gn analyze` on trybots. However, since the gn_v2 recipe automatically uses `gn analyze` to avoid unnecessary compilations and depfile appears to be only usable at build time (whereas `gn analyze` uses static analysis), not explicitly declaring the dependency on the JSON files allows regressions caused by those files to make it past the CQ. Bug: 466134210 Change-Id: I921307d6ecb5dc6172d241a583ad0adfe7eaa472 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/282595 Commit-Queue: Brian Sheedy <bsheedy@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Auto-Submit: Brian Sheedy <bsheedy@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.