| commit | 24651fccd5737e5337b7d67fc9e7b8ccec3ec5f7 | [log] [tgz] |
|---|---|---|
| author | Ryan Harrison <rharrison@chromium.org> | Wed Sep 10 13:12:54 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 10 13:12:54 2025 -0700 |
| tree | f12533b5ac061a5b50b4f4c79878fe52c0f6e07e | |
| parent | 013593c12837c49ccb1c1867a47453cdd7ec1e4e [diff] |
[tint][val] Improve ShaderIO validation - Introduces an enum to track the type of shaderIO being validated (and associated ToString). - Replaces passing in a string to ValidateShaderIOAnnotations() with this enum. - This makes it clearer what is actually being tested, and allows moving a capability check down into the function, since as skipping the entire check as-is, as opposed to the specific rule. - Updated tests due to removing -s from 'return values' Bug: 440157916 Change-Id: I6f968385c43e8792d63449993782e64dccd99aac Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/261474 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Auto-Submit: Ryan Harrison <rharrison@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.