commit | 1a758d8cebdab8fe5a3a9d330c1689903a0c0fe7 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Tue Jun 28 00:28:35 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 28 00:28:35 2022 +0000 |
tree | 18220da68b70850c3a4d810ca52dff450721724b | |
parent | 65d35f8e7d7aa1bc744619c1c813133661b4dfae [diff] |
D3D12: Remove tempBuffers in ExecuteCommandList() This patch clears mTempBuffers everytime after d3d12CommandList is executed in CommandRecordingContext. Previously mTempBuffers won't be cleaned up until device is destroyed, which will consume lots of unnecessary GPU memory. Bug: chromium:1161355 Change-Id: Ie03d43847ed56e7f2b4bfc5b0f8244dfd7012625 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94820 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.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.