commit | 475941c2957a1d98dc333c0924baf7f6439e0af0 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Mar 30 21:12:14 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 30 21:12:14 2022 +0000 |
tree | be198430839f364ae22fa9a46ded4d2cc30a6081 | |
parent | abe784b5023dd9c86e932484957c545df3d054c4 [diff] |
tools: Add src/container Contains generic Map and Set types. Golang 1.18 added new support for generics, but has not yet added a standard library that provides generic containers. In future versions of Golang, there will almost certainly be similar implementations of these types. Until then, use these to simplify some code. 100% test coverage. Bug: dawn:1342 Change-Id: I2a5c7bfb26f15c2099037d3fa0f0576df641d9f6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85220 Auto-Submit: Ben Clayton <bclayton@google.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Ryan Harrison <rharrison@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.