commit | e45bf9f3d6805146ef483bc91a306ccb5c985803 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@chromium.org> | Tue Jan 10 14:13:50 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 10 14:13:50 2023 +0000 |
tree | 7e56e7103cef217d3f8960af4cf9092d4a681f72 | |
parent | e0254998cfa5961947b2229ec93c85cb44b8e2f3 [diff] |
dawn/node: Handle printf() erroring printf() can return -1 on error. In this situation, don't adjust msg with a negative offset. Fixes a spurious crash when emitting lots of text. Change-Id: Id1e9402bbbe3dd49cf08e660dea0cf67c5369516 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116289 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.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.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.