commit | bf982d6349783f4c176ae6e4cdd78c8d9068fd9d | [log] [tgz] |
---|---|---|
author | Lokbondo Kung <lokokung@google.com> | Tue Nov 05 00:32:43 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 05 00:32:43 2024 +0000 |
tree | ddc5d0761703043816c8c1998916e5cb05f2a81c | |
parent | afd7389710ac47caed7cde667499877c6ccae327 [diff] |
[dawn][emscripten] Fixes some ref-counting backwards compatibility - Some users rely on emscripten_webgpu_get_device to keep the globally stored device alive, so add an additional reference to the device when we first import it in Emscripten. No-Try: true # we do not test the build that this affects Change-Id: Iab69249751260753ea7ca6e0806d9f12e898c945 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/213714 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Loko Kung <lokokung@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: 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.