commit | 52b68e3e6bd237a0fef548a0ca425823ecf90ecf | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Tue Dec 03 00:17:50 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 03 00:17:50 2024 +0000 |
tree | 67aaf0c354fe7222c3008169fb6288d5a37ca3b6 | |
parent | 3b9c3e8207717c29944a9cfc1acf787779d399aa [diff] |
[tint][ir][val] Check that terminators don't have results The unittest added for this check do not exhaustively test all of the terminator types, since that would require building somewhat complex IR for some of them to avoid a variety of other validation errors. Instead, some low hanging fruit cases are tested to guarantee that the check is working in general, and the structure of the validator is depended on to ensure other cases would be caught. Specifically the check for results has been added before the specific type of the terminator has been determined, so the validation logic for all terminator subclasses must flow through this check. Fixes: 381418583 Change-Id: Iaa9926a53e2bcf6abbe4b60a2751ae904a31c980 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/217694 Commit-Queue: James Price <jrprice@google.com> Auto-Submit: Ryan Harrison <rharrison@chromium.org> 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.