commit | 5183d1aa0923b6e3bc695b8918f3730d8473082f | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Tue Aug 13 21:49:44 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 13 21:49:44 2024 +0000 |
tree | a0990bc2c5b7efc7f667341af0da90ba40fb7cf9 | |
parent | dbefda9194f3a27eb6a29955b6d949c930531746 [diff] |
[tint][ir][val] Check disards in validator Checks the number of results and operands, as well that discard is not called outside of fragment entry points. The top-level Run() for the validator has been refactored to make it clearer what is run as a first-pass validation that ensures the structural soundness of the IR, and what are later checks that depend on this first pass completing before running. Fixes: 359593395 Change-Id: I042ec47b9754aa3b6da44d667aa9c0147af3da9d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/202414 Auto-Submit: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: 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.