commit | 84f569f189912ac0a3ab40a8da43cd61a6a982dc | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Wed Apr 03 01:20:09 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 03 01:20:09 2024 +0000 |
tree | e2b79eba91ce927b39e9d7e95b992eb5319d14f2 | |
parent | 823d61f907473476c79bde1c1375dda2ca83ad2b [diff] |
Fix dangling pointer in CreatePipelineAsync This patch also updates the comments to explain why we cannot use `taskPtr = std::move(task)` in the lambda expression that is used to create an `AsyncTask` (an `std::function`) object. Bug: dawn:2349, dawn:2364 Change-Id: I94c2705d5d1ca45585301ad2e5163af64090d673 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/181683 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.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.