commit | 096e0f9a56820b5e57cf7f5e388b3dafb8231f31 | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Mon Apr 21 11:37:46 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 21 11:37:46 2025 -0700 |
tree | 8e172f62d84939dfb1303c9e8542015a792e9203 | |
parent | d717c21fee78c1d1f1ac4a64d4d862d87b6e5243 [diff] |
Fix uncaught promise rejection due to heartbeat If p1 rejects, then p2 = p1.finally() also rejects. We weren't handling that, so it printed an "Uncaught (in promise)" console warning. Fixes an issue I introduced in https://dawn-review.googlesource.com/c/dawn/+/233954 Bug: 332934824, 42241427 Change-Id: I704f11a37828256238e2798c830196dee9e22ce0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/237722 Auto-Submit: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Brandon Jones <bajones@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.