commit | e657c470bdc66ba10468ed494a4cda0a7258f982 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Jan 25 01:24:46 2023 +0000 |
committer | James Price <jrprice@google.com> | Wed Jan 25 01:24:46 2023 +0000 |
tree | 2ca16990b8ae9408519038c3238fe94619f4cce4 | |
parent | 5853205342386f296377f3276a76d36181558ca3 [diff] |
tint/uniformity: Add derivative_uniformity filter Add additional `RequiredToBeUniform` nodes for each severity level. When processing a call to a derivative builtin, look up the severity from the semantic info for that AST node, and add an edge to the corresponding `RequiredToBeUniform` node. Propagate the severities to the callsite and parameter tags for a function that contains a builtin. Traverse that graph from each `RequiredToBeUniform` node to look for violations at each severity level, starting with the most severe. Only stop the analysis if an error is found, otherwise report the violation and keep going. Bug: tint:1809 Change-Id: I4ac838e85da3f4fb3d63f4892dce7f12b096f74b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117602 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@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.