commit | dbf805fe8d93c44a05ff4633df703a6b19e8f1e3 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Mon Jul 06 18:08:10 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Mon Jul 06 18:08:10 2020 +0000 |
tree | 6516597abd635c7f6940a2c75ee0f876e183d723 | |
parent | db34c78910773b9a5b092bf53bf5232582f1310e [diff] |
Update GetMappedRange to not produce validation errors GetMappedRange never produces errors and instead returns nullptr when it is disallowed. When in a correct state, should return a valid pointer as much as possible, even if the buffer is an error or if the device is lost. Adds tests for error buffers and device loss, and modify existing tests to not expect a device error. Also removes some dead code in the Vulkan backend and adds a fix for missing deallocation of VkMemory on device shutdown. Bug: dawn:445 Change-Id: Ia844ee3493cdaf75083424743dd194fa94faf591 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24160 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Stephen White <senorblanco@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.