commit | 0d948f77529f2e00f02e17f52aa39f5f3b214a42 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Mon Dec 07 18:12:13 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Mon Dec 07 18:12:13 2020 +0000 |
tree | c3e97ca11c28009fae6106d2119788c20202b3d6 | |
parent | 224a3a4ab514d8cbe985ce99c26cb1452e092dd3 [diff] |
Produce tint::ast::Module in the frontend if UseTintGenerator This factors code to move parsing of tint::ast::Module to the frontend. All backends will use this code path when UseTintGenerator is enabled for both SPIR-V and WGSL ingestion. To avoid too much code explosion, parsing and validating the shader is moved into ValidateShaderModuleDescriptor which returns a result struct that gets passed into creation. Bug: dawn:571 Change-Id: I598693ef36954fd0056a0744a2a0ebd7cc7d40a4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/32301 Commit-Queue: Austin Eng <enga@chromium.org> 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.