commit | 61d2cf297a4b13958d7e2321abe1178e710375ea | [log] [tgz] |
---|---|---|
author | Brandon Jones <bajones@chromium.org> | Thu Jan 19 21:17:42 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 19 21:17:42 2023 +0000 |
tree | afafff6898730515d4c4fd6e1adb999d43811e0b | |
parent | 0f72763efd10050192de79255504265985c4a4f2 [diff] |
Making SPIR-V ingestion and validation optional Browsers won't be exposing the ability to pass SPIR-V shaders, and the ability to consume and validate them is adding a non-trivial amount to the browser binary size on platforms like Android. To avoid that overhead, this change puts those features behind a flag so that browser usage can easily omit them. Bug: dawn:286 Change-Id: Idf70683f2c4ccf479b723c00ba6914e27e4f765f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117241 Commit-Queue: Brandon Jones <bajones@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@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.