commit | 0363c3e46d35b4b9eebb48c0720ddcaded2dce25 | [log] [tgz] |
---|---|---|
author | Bryan Bernhart <bryan.bernhart@intel.com> | Thu Feb 27 01:14:22 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Feb 27 01:14:22 2020 +0000 |
tree | f8e87d4710201c4aeeb789d9e659cdacc9890a5b | |
parent | a9d7d478429d8deaac52a0578826783877cd556a [diff] |
D3D12: Allocate GPU bind groups at draw/dispatch. Instead of counting descriptors to be allocated for the entire command buffer in a pre-pass, the bindgroup state tracker is used to allocate only dirty bindgroups upon recording draw/dispatch. If the heap has no more room and must be changed, bindgroups will be re-created according to the BGL. A future change will address the CPU descriptors and removal of the pre-pass. BUG=dawn:256,dawn:307 Change-Id: I6603de17cfda713bd4512c46e1c93618ca01bb7b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13400 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.