commit | 9fe9d9b1bf67a3c1198a5188f5c2541f97061763 | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Thu Feb 20 11:15:44 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 20 11:15:44 2025 -0800 |
tree | f36492d588c4bb2ad090e8a30c83ecbe85226473 | |
parent | 143208bc2c1fb8da9777d7c598351c3b88ac5aac [diff] |
Revert "fix buffer destroy" This reverts commit 607ea6eecee8fee7f93e439c3eab6f87e763c938. Reason for revert: Causes crashes because buffers are destroyed too early. We can't make this change yet because emdawnwebgpu doesn't have internal cross-references between objects (e.g. from BindGroup or CommandBuffer, to Buffer) yet like Dawn does. Original change's description: > fix buffer destroy > > In native implementation, wgpuBufferRelease will trigger the buffer destroy (if refcount decreased to 0). But in emwgpu implementation, the buffer destroy won't happen. > > This change fixes the bug. > > Change-Id: Ifc335b42ecab9dcde4549b377871ac3912798a41 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/226315 > Reviewed-by: Loko Kung <lokokung@google.com> > Reviewed-by: Shaobo Yan <shaoboyan@microsoft.com> > Commit-Queue: Shaobo Yan <shaoboyan@microsoft.com> Change-Id: Id44fc5f8b7ddd41e25f7bf914a07125406ec3ab3 No-Try: true Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/227194 Auto-Submit: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: 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.