commit | 9c03abfb554fd64adb66a9f11d7e84766cdc15b3 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed May 11 22:05:15 2022 +0000 |
committer | James Price <jrprice@google.com> | Wed May 11 22:05:15 2022 +0000 |
tree | a95dde4dba0b995b71b72141869170075f82bd12 | |
parent | 874b61f1badfe275c480d1dcb6d32b867391de73 [diff] |
tint: Show the reason for a uniformity requirement When producing an error from the uniformity analysis, add notes to show the underlying reason for the uniformity requirement. For function calls that are required-to-be-uniform, show the innermost builtin call that has the requirement. For function parameters that are required-to-be-uniform, recurse into that function to show where its requirement comes from. Add some new tests to specifically test the error messages. Bug: tint:880 Change-Id: Ib166fdeceaffb156a3afc50ebc5a4ad0860dc002 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89722 Reviewed-by: 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)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.