commit | fa3f89b26b1bb003391d0baf5005c20e50e9b782 | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Mon Oct 21 20:30:08 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 21 20:30:08 2024 +0000 |
tree | 66b3e227ef312c2e6c8b458abd598dd96c0363d2 | |
parent | 1217dc10c79e445def18cdd78a0666f5881c33f8 [diff] |
[tint][ir][val] Implement `CheckBuiltIn` This adds validation code for builtins, specifically it validates the shader stage, IO direction, and data type it is annotating. All of the existing tests have been updated to pass using the new rules. Fixes: 372285196 Change-Id: I14a6750fa37470ea12d91518d100cf8bc025584b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/211195 Commit-Queue: James Price <jrprice@google.com> Auto-Submit: 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.