commit | 15838b98af3151dc27c191ca55754656e3c976cd | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu Jul 08 22:35:27 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 08 22:35:27 2021 +0000 |
tree | d084344287da75668410764764ac51a830fe4bbe | |
parent | 31930e72872d61853b950db6e6894d4751e336da [diff] |
Switch to new Tint generator API Tint now has a single-function API for code generation that automatically runs the backend-specific sanitizer transforms. This API allows for backend-specific configuration options such as the fixed sample mask for MSL (and, in the future, information about which compiler/version is being targeted), and returns any backend-specific metadata such as whether a UBO of buffer sizes is required by the shader. This change prevents the post-sanitizer program from being exposed to Dawn, which is a potential foot-gun (e.g. the Inspector is not expected to be run after the sanitizer transforms, and Dawn is currently doing this). The old Generator class API will be removed from Tint shortly after landing this change. Bug: tint:697 Change-Id: I9b988d55514f810d3091ec6471731e6eb41dc27f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/57103 Auto-Submit: James Price <jrprice@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@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.