commit | 8b58d11f0b5fa0c54e4166f8ac67d5464ac0a456 | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Tue Jul 30 19:39:35 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 30 19:39:35 2024 +0000 |
tree | 8ee6327ed00dec7a3fc3534e4f1a1d73c5a63dcb | |
parent | 42429819bfcbdce13482182db02005a5ac254882 [diff] |
[tint][ir] Gracefully handle Type() returning null in disassembler Adds in a `NameOf()` implementation for `type::Type*` that handles nulls. This is used to replace a bunch of potentially invalid calls when building output text. Also: -Adds in some missing checks for loop initializer and continuing blocks. - Adds some missing null checks for usage of `Foo()->` pattern. Fixes: 356297569 Change-Id: I3c8ae43cdefdd41ab1cf4954af100fbb4fa8fb47 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/200654 Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dan sinclair <dsinclair@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: James Price <jrprice@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.