commit | 81c4064f3202d623266b368b34780cc849a7d13f | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Wed May 28 11:44:44 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 28 11:44:44 2025 -0700 |
tree | 10c7a5b88792c162fe0c792cdeef227c5a07bb0a | |
parent | b0859b9a6289343c8df3c87c3a04c2c8c775970b [diff] |
[emscripten] Compile emdawnwebgpu port with -sSHARED_MEMORY When linking using -sSHARED_MEMORY (which means the heap is a SharedArrayBuffer - it's implied by -pthread or other flags), emdawnwebgpu's webgpu.cpp also needs to be compiled with that flag. Asides: - Switch webgpu.cpp to C++20. - Remove the underscore from lib_emdawnwebgpu -> libemdawnwebgpu, to make it more consistent with typical library names. No-Try: true Fixed: 420406098 Change-Id: I1668295212da03f145bdef5db85c8cf013969df3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/244075 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Auto-Submit: 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.