commit | eda73e3c4e9d380a48df081041e787fda0e26b45 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Thu Aug 12 05:20:48 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 12 05:20:48 2021 +0000 |
tree | 2c86933e157926a6b1325fd16b13e8635a6d0a0c | |
parent | c0132622c1ff89370cce6c04c1f06d229e8aefb9 [diff] |
Validate SPIRV produced by Tint The now-removed SPIRV-Cross path used to always do this, and the pure Tint-only path never actually validated the SPIRV. Tint does not run SPIRV-Tools validation on its output, so add in validation to ensure we don't pass invalid SPIRV to the driver. The validation can probably eventually be removed when we're more confident that Tint's SPIRV output is always correct. Also include various cleanups for old / unused code. Bug: dawn:1036 Change-Id: Iaab037518965e52edbd1829f6ab6ba2af0e70143 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/61589 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Auto-Submit: 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.