| commit | fbccdd4ac819a2d9f680dfe357cc830411c9fefc | [log] [tgz] |
|---|---|---|
| author | Ryan Harrison <rharrison@chromium.org> | Mon Sep 15 13:20:56 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 15 13:20:56 2025 -0700 |
| tree | b5b34ff7d6a123283b805c38d09c29bd6f85f49b | |
| parent | d559cca01823fc99f5e655d0f1053e48ffbe7a69 [diff] |
[tint][val] Check that the type for @location is valid Enforces that it is only attached to numeric scalars or vectors. Also adds a capability to allow location on structs, matrices, and arrays when they have only numeric elements, so that the 'from SPIRV' path can handle inputs with this construction, instead of immediately bailing. The duplicate annotation test needed to be updated, since it previously depended on location being attached to a struct directly was valid, which is no longer allowed. Fixes: 440157916 Change-Id: I73c4e2eeee5d2d93b7d3d6948889966b82f866dd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/261354 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.