commit | 5560934ba99c4e9a5e00e702d75c12e207ba3470 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Aug 16 22:10:47 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 16 22:10:47 2023 +0000 |
tree | 93d07cf310a2513dd229def41756d4c29f24ea66 | |
parent | ade35e6ab64aad3677eab7d0cace82c40191a048 [diff] |
[tint][cmake][build] Clean up CMake build Add 2 new target kinds: 'test_cmd' and 'bench_cmd' These are the executable targets for unittests and benchmarks, respectively. Make CMake 'test' and 'bench' targets use OBJECT libraries, instead of appending sources to fixed targets. Add `OutputName` to the target options in BUILD.cfg, to control the target output name. This is more explicit than transforming the target name in magical ways. Create target aliases for all targets given an OutputName. Let's you build targets like 'tint' and 'tint_unittests' like before. All this makes things more consistent, and allows for more than a single unittest and benchmark executable to be generated. Change-Id: Ic77fbf5802c864aa4c191b0a60138f406a0416b5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/146905 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.