commit | 7d256c750421fc27d5e3eb6b9f11b33aef117092 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri Dec 01 16:27:15 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 01 16:27:15 2023 +0000 |
tree | 57d7d84082d7ab0f1758cf79160b08f2a579af5f | |
parent | 85defdc0df42475c384ce4165badf33175499e40 [diff] |
dawn::native: Implement wgslLanguageFeatures. Adds support for Instance::HasWGSLLanguageFeature and Instance::EnumerateWGSLLanguageFeatures based on the data provided by Tint in src/tint/lang/wgsl/features/status.h. A toggle is added to (by default) hide the "chromium_testing_*" language features. Use these testing features in a unittests. Make the device use the instance's list of enabled language features to pass the AllowedWGSLFeatures to Tint's WGSL reader. Bug: dawn:2260 Change-Id: Ia6de5f9daf7d5a4f04c017624c32cf149382c6be Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/162500 Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.