commit | d8054e28e8977ccb6b0b6fbd7fd8c4b7889ce285 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Oct 26 14:24:30 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 26 14:24:30 2023 +0000 |
tree | b67cbe6c3bb2f7b65ab25f58a35a4b42d23bf546 | |
parent | 89653e0bcb589769d19d4d6cead31c58ee4f1591 [diff] |
[tint][msl] Make the MSL printer PIMPL This is done, so: • The API is cleaner - one stateless Print() function instead of a constructor, Generate() and Result() • The compiler / linker does a better job inlining - binary size is reduced by 592 bytes, and gives the compiler more room for optimization. • You don't have to forward-declare or #include a bunch of implementation details in the header. • You don't have to duplicate the methods signatures in two files Change-Id: I211422d7e72d131cbc40ed032185615f2a933178 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/157241 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.