commit | d3bbcc3334527d332fc6cec5ce62d7d01602a8ef | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Thu Apr 16 09:51:26 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Apr 16 09:51:26 2020 +0000 |
tree | 0a85f469b68cacbc4ad2ee39db4d16ffd3ca153e | |
parent | 0721c1cf2a52c132d8df51ee03280df968a1aab0 [diff] |
Correctly support setSubData of 0 bytes. DynamicUploader/RingBuffer were incorrectly assuming that they could not get empty allocation requests. Fix this and add a test. The test also surfaced a bug in the Metal backend where the command recording context could be left with a blit encoder open that was not properly handled on device shutdown. Bug: chromium:1069076 Change-Id: I9793b37142bd509254ce2894fa9f6208e9a68048 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19291 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@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.