[infra] Add building Mesa to CMake builds Adds a generic Meson target, and then uses that for the Mesa build. Including this target is guarded by the new TINT_BUILD_MESA flag and the tint_wgsl_fuzzer target, so that none of this is included/needed if an embedder/dev isn't using it. Note: There is a number of hardcoded values, like the options being passed to the Mesa build and the relative paths between the Mesa and Meson checkouts. Making these configurable will be part of the work of separating the mesa/meson build rules out into their own repos for other projects. Bug: 475840954 Change-Id: I4f39fe5cc7f5a2a7b40c769ecc196cdabd1ec9b4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/289795 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> 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.