commit | 8bcde8e394709eb5aabaf26b4cf5eaaf054e6767 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Tue Jan 19 19:27:52 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Jan 19 19:27:52 2021 +0000 |
tree | 1b9937c0123939c2e2fbce9ff43e4993ba33ac34 | |
parent | b830da7d6e9b932b574d1c13262ebb06005ed27a [diff] |
dawn_wire: Add Reserve/InjectDevice Now that the wire does enough tracking to prevent a malicious client from freeing a device before its child objects, and the device is no longer a "special" object with regard to reference/release, it is safe to support multiple devices on the wire. The simplest way to use this in WebGPU (to fix createReadyRenderPipeline validation) is to add a reserve/inject device API similar to the one we use for swapchain textures. Bug: dawn:565 Change-Id: Ie956aff528c5610c9ecc5c189dab2d22185cb572 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/37800 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Austin Eng <enga@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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.