[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.