commit | 3e80b5ddf93220cd1580bc2502e9147631580b50 | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Mon Mar 10 17:48:00 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 10 17:48:00 2025 -0700 |
tree | 20032ddbfba3cc0f65120a4d96af93a6347b3ed3 | |
parent | 6cc69edd47a59c9fe9751357ac6b117e2314defb [diff] |
[emscripten] Remove DAWN_EMSCRIPTEN_TOOLCHAIN, simplify conditions Now that emsdk ships Emscripten with gen_struct_info.py, we don't need DAWN_EMSCRIPTEN_TOOLCHAIN anymore, and can point directly at the EMSCRIPTEN_ROOT_PATH set by the toolchain (via emcmake). Updated docs, including how to set dawn_emscripten_dir in gn. Also remove ENABLE_EMSCRIPTEN and DAWN_ENABLE_EMSCRIPTEN variables in favor of the toolchain-builtin EMSCRIPTEN, so there's no risk of them getting out of sync. Bug: 371024051 Change-Id: Ibf6d6252046b52643f6e09dadb95e659f4a3665e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/227335 Reviewed-by: Loko Kung <lokokung@google.com> Auto-Submit: Kai Ninomiya <kainino@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Kai Ninomiya <kainino@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.