commit | 622c78d749f3c94ff5ca044046dc6cba52736a33 | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Thu Sep 05 23:05:52 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 05 23:05:52 2024 +0000 |
tree | fe93384d39603b55090ec01e0f6d6e9d84b41c37 | |
parent | 6d1e2137d23fbe2a411a62306cbad5241fd591ed [diff] |
emdawnwebgpu: various correctness fixes found in demo Found when trying to build/run https://github.com/kainino0x/webgpu-cross-platform-demo/tree/dawnwasm - handle null messages in async completion - add missing .object to copies to/from buffers - fix unused parameter warnings - fix reference to nonexistent JS variable (caught by Closure Compiler) - handle wgpuAdapterRequestDevice2 with null descriptor (caught by ASan) - add deps on withStackSave (needed in newer Emscripten versions; surfaces "user library symbol ... depends on internal symbol" warning) Bug: none Change-Id: I561b6f371cd6514b9b473b358fbcfcffaecdf919 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/205615 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com>
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.