commit | 9df75a2af09525f603e38754c8b5beb475d1cc44 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Jan 11 20:13:09 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 11 20:13:09 2024 +0000 |
tree | d27aaba2cbd1fa761fdede99f2c946e90ef8223f | |
parent | cafc60bd429c56b430afbbe141f7ca108a0c662c [diff] |
Wrap writer specific code in build guards. This CL adds some `#if TINT_BUILD_*_WRITER` wrappers around parts of the tint executable code. Each one is referenced outside of the options, because of the setting code but they're only used when the specific writer is enabled. This CL moves them behind build flags to make it clear they're only for specific backends. Change-Id: If247f8708ee1518907cd01004a9b3a864e794889 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/169240 Kokoro: Kokoro <noreply+kokoro@google.com> 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.