commit | 0a8dc81b6184478c1b4c83bda1ecb71da660bb04 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Mon Dec 04 20:52:16 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 04 20:52:16 2023 +0000 |
tree | 3ade9fcea0d8f9ef4742839514285ea2c3033148 | |
parent | edc788d5a8bb6846f87cde6ef3eaabce8319a233 [diff] |
[tint][utils] Make bytes::Reader an interface Add bytes::BufferReader, which implements bytes::Reader. This behaves similarly to the old Reader class. Add wrap all the Reader return values with Result, and error if there's not enough bytes - there's no good reason to return partially filled data. This change adds support for reading from non-buffer sources. Change-Id: Idd592a8d44c133f19a6eb0073198d2d5fe94902e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164280 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Auto-Submit: Ben Clayton <bclayton@google.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.