commit | de3f95a16bca110f452acdc80296dc9a27ab84cb | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Nov 09 10:51:20 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 09 10:51:20 2023 +0000 |
tree | aff7e6e2884913b473ccea017774dbd83001b515 | |
parent | 00d52cbbbb5a3017682205d4598b2a8d7733c590 [diff] |
[tint][resolver] Fix @index validation, tweak diagnostics Validator::EntryPoint() was returning early for IndexAttribute, which was missing later validation. Replace the if-else chain with a Switch() which makes early return impossible. Also change the diagnostics for attributes that can only be applied to a specific stage, so that the message states what stage it can be used in. Knowing whether the usage is input or output is not that helpful. Change-Id: I47352a006f45ad6421aa102697216206d0e2044d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/159783 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.