commit | e50f779c2dd2cebf696366812dcaf984208a53fd | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Nov 09 23:44:33 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 09 23:44:33 2023 +0000 |
tree | 1abc818f3f3c2135b6214daf2130d97d529c4ede | |
parent | 165c1c05ffb5c38cda56c5fafc3951cc57b1210c [diff] |
[tint][resolver] Fix dual source blending validation The check for an entry point using a non-zero @location and non-zero @index would only fire if the non-zero index came after the @location. This now only validates on the entry point (as opposed to a standalone struct), but given that this is non-spec'd this seems fine. Rework the validation, and change the diagnostic message to be clearer about what you did wrong. Change-Id: I3e35b316814cb149c1f8f77f59e236463d87b2aa Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/160082 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> 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.