Run `gn format` directly. Currently the generation script runs the `gn.py` script through depot_tools using `vpython3`. Instead. run the `gn` which is pulled in through the DEPS file directly. Note, this will only work on a linux, mac or windows machine as we only pull `gn` for those versions. If we find we have developers on other platforms, we may want to conditionalize this and fall back to the python `gn.py` script to find `gn`. This cuts about 4s off the gen time on my M3. Change-Id: Ifc6201e8088bc9f65da573f633d8bf9574160bb8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/259256 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: 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.