commit | 14038c2813fae9085d186c60c53c1381abb499d8 | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Mon Jun 16 13:14:38 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 16 13:14:38 2025 -0700 |
tree | 57f9fb7c83fe4d228c1370289f59432367534b21 | |
parent | b0778f6d99b3742372f474b23c09313c7966269e [diff] |
[infra] Add a check for incompatible changes to ir.proto This check is not designed to be all encompassing of any possible incompatible change, just catching enumerated values changing in the proto, and existing types being removed. The parsing in the change is simple, not importing and using the proto library, so there is lots of corner cases that will probably cause it to bail, but it works for the existing ir.proto file and should work reasonably for future versions that are well formed and have a readable style. It not handling tricky 'technically' valid syntax is considered a feature not a bug. This check also hardcodes the location of the ir.proto file. This path isn't expected to change, and the check can be updated if it does need to move. Fixes: 422414025 Change-Id: Ib4f51b21f90913429fe7af58d62389cc6e3e4768 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/247174 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Auto-Submit: 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.