|author||Corentin Wallez <firstname.lastname@example.org>||Mon Jul 06 18:08:10 2020 +0000|
|committer||Commit Bot service account <email@example.com>||Mon Jul 06 18:08:10 2020 +0000|
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 <firstname.lastname@example.org> Reviewed-by: Stephen White <email@example.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.hversion that Dawn implements.
User documentation: (TODO, figure out what overlaps with webgpu.h docs)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.