commit | 78da6644356b1a0c2613e04690f626f932067622 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Mon Nov 06 18:42:21 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 06 18:42:21 2023 +0000 |
tree | 9367942206b8d464f8af41068ac7fd54e244e8de | |
parent | 031a18a31a738a0fd0e3909ec4004a28a62746ab [diff] |
Pass feature allowlist from Dawn to Tint Adds an `AllowedFeatures` struct that defines the set of extension and language features that are allowed in the calling environment. The Resolver then checks any usage of an extension or language feature against this allowlist. Dawn sets up the allowlist by allowing any extension allowed by the device, and allowing the read-write storage texture language feature if the allow-unsafe-apis is set. Bug: tint:2088, tint:2081 Change-Id: I45eba877eb3bb1689e1367c6641bd75e2e755d51 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/159101 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: James Price <jrprice@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@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.