commit | 5af0a62e5476902924df80850a178f9ec08d1b45 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@intel.com> | Tue Jul 20 01:17:38 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 20 01:17:38 2021 +0000 |
tree | 95d3d30057c13c0b181fe392fc490a0eaa99ea35 | |
parent | ae5be1df34f3300c2e2eacbce6c2b9cdb70ffc30 [diff] |
Fix memory leak in ShaderModuleBase::MakeError Change the ShaderModuleBase::MakeError to return a Ref<ShaderModuleBase> rather than a naked pointer. This Ref will be used and finally detached in DeviceBase::APICreateShaderModule. Bug: chromium:1223546 Change-Id: Ie4213f091e37fdc61c6e1f0bb742e8787bcb4eb8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/58660 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.