commit | 607ea6eecee8fee7f93e439c3eab6f87e763c938 | [log] [tgz] |
---|---|---|
author | Yulong Wang <yulong.fs@gmail.com> | Mon Feb 17 20:26:22 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 17 20:26:22 2025 -0800 |
tree | d894daa2667c3e24d251d55c8af3c18e8cde2368 | |
parent | 65cf97632f2a93e26ea9079a6cbab0925f542aee [diff] |
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>
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.