commit | dc7971ce587a7f52dad3f39515e7a71f713d6540 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Fri Sep 10 20:36:20 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 10 20:36:20 2021 +0000 |
tree | c7d2df99dbaaea921dd4be7c291d19f0118a7008 | |
parent | 8ee643c9d02393628e4c7554487eb2ff517ca1c2 [diff] |
dawn_wire: Support deserializing s->c chained structs Chained structs *may* contain objects which means deserialization may need an ObjectIdResolver. However, in practice, we never need to send chained structs from the server to the client that contain objects for a valid command. The one upcoming need for chained server->client structs is to serialize limit structs. Because limit structs never need objects, we provide a dummy implementation of the ObjectIdResolver which always yields an error. An analogous change is done for ObjectIdProvider. These classes will be used in a follow-up CL. Bug: dawn:685 Change-Id: I1c0f3f2d080377f2e1a77bc6e896f24d3d9ab931 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/63981 Commit-Queue: Austin Eng <enga@chromium.org> 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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.