commit | 8d98977a30b7c00ffacad47322a1ba0f896b3ad8 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue May 16 12:30:06 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 16 12:30:06 2023 +0000 |
tree | dfb588e562792913988a4461070199d2b04e9d26 | |
parent | c9dd75a0e9cd6597539c8b2d06a73636905ab266 [diff] |
[tint][ir] Make the ir::BuilderImpl PIMPL Black-box the BuilderImpl by putting the BuilderImpl into the from_program.cc file. Why: * It means there's only a single definition of all the methods that need to be maintained, instead of pointlessly splitting code between two files (.cc / .h). * It removes all the implementation details from the header. * It removes a whole bunch of transitive includes, slowing compiles. * It prevents the temptation for future #includes to private-implementation details. * It reduces the amount of symbols declared outside of anonymous namespaces, reducing symbol polution and the amount of work on the linker. Bug: tint:1718 Change-Id: I82838089f784ab003dae4ef06545bba1ca2401cc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132321 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
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.