commit | b7b04631f53438e357876b0ad7c6aed9da163710 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Aug 28 15:19:21 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 28 15:19:21 2024 +0000 |
tree | 747c207b71fcdac4400f6432e7b6addc6a68d2ce | |
parent | 1b6402f4dc552457764950436421db6022d2f652 [diff] |
[benchmark] Generate header at build time Instead of generating the entire header offline and checking it in, just generate the WGSL shaders for any SPIR-V inputs and check those in instead. Move the header generation back to build time so that we do not have to check it in. This makes future diffs for updated WGSL codegen actually readable. Bug: 42251293 Change-Id: Ief4610404bec5d4ef9e79b230d51aaacad588f2d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/204234 Auto-Submit: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@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.