commit | 16f0b93d65f528f9d15ded83821e5b773c2e9464 | [log] [tgz] |
---|---|---|
author | Lokbondo Kung <lokokung@google.com> | Mon Oct 21 22:29:35 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 21 22:29:35 2024 +0000 |
tree | 09f8e6c42169cbb49360b2befb6475c7e9ffcd58 | |
parent | b39c7951b981ea05d42aba50279b8278e71d7f96 [diff] |
[dawn][emscripten] Fixes some device lost bugs. - Use a shim for wgpuDeviceDestroy to cause the device lost event to immediately happen. - Fix Ref<> implementation to always call RefCounted functions, i.e, not ExternalRefCounted functions. Change-Id: I4ba3540f4b1c8753d3b88a793c5c719ded56c52a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/211238 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Auto-Submit: 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.