commit | 2479860e4bb0ef5a12d269557a088bace53f0f30 | [log] [tgz] |
---|---|---|
author | Bryan Bernhart <bryan.bernhart@intel.com> | Fri Apr 03 16:52:28 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Fri Apr 03 16:52:28 2020 +0000 |
tree | 4cdf80f54ad5ffcb56aadb01739196d5fcf62da7 | |
parent | c00163ba0925a7de0936a0b0c8385e1986ae5a4c [diff] |
D3D12: Stage BindGroups on CPU descriptor heaps. Instead of directly populating GPU heaps, pre-encoded BindGroups are staged on CPU heaps then copied over to the GPU. Non-shader visible allocators are stored on the BGL, which hands out fixed-size chunks to simplify memory managment. To enable memory re-use, CPU allocations are tied to the lifetime of BindGroup objects. BUG=dawn:155 Change-Id: I402e6686c96f7450a077c627c8499600979e426c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/18100 Commit-Queue: Bryan Bernhart <bryan.bernhart@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.