commit | 4ebed9da86ac0c703beee8fd083b6146355c3285 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Sep 05 14:39:05 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 05 14:39:05 2023 +0000 |
tree | e299530c43fcf1b468c94edd16833a5e68e066ea | |
parent | 62ce2929c61810d2bd6b67cb516e114618f8c991 [diff] |
[tint][ir] Move Validator class definition into cc file The Validator class is only used by Validate() and ValidateAndDumpIfNeeded(). Reduces PIMPL leakage, transitive includes, and gives the compiler and linker more room for optimizations. Saves over 2.5k from the tint binary when forcing-enabling the validator in a NDEBUG build, in an optimized and stripped build. Change-Id: Ia338b0ab7186fc1548fc2b09f72bfff6402a7bf8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/149700 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> Auto-Submit: Ben Clayton <bclayton@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.