commit | 880bf189083752998a1c4e0f8d8781c7025193c8 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Mon Mar 24 09:36:35 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 24 09:36:35 2025 -0700 |
tree | f5f6c9b84143d9a6df063322b33b0c4c59484288 | |
parent | eea2dde5513ef8abd08c26e5a9e2ad70593dff45 [diff] |
[tint] Cleanup failure stream redirection. The various `Failure` classes implement a `<<` operator. So, we can just redirect the `Failure()` object from the result instead of the `reason` or `reason.Str()`. The `diag::Failure` `<<` operator is updated to emit `reason.Str()` as that's what we'll always with with a diagnostic failure. Change-Id: I0c2b89c38c3605d2935df64d6436439c2cf4a52f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/232175 Auto-Submit: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
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.