commit | 5853205342386f296377f3276a76d36181558ca3 | [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 | f77c039b011ec579664169393efa5b925875bd0e | |
parent | 613fbcf79ad0b366711f144dbd1d1c07132b910d [diff] |
tint/sem: Record diagnostic severity modifications Each sem::Node has a map which stores the diagnostic modifications applied to that node. The sem::Info class provides a query to get the diagnostic severity for a given AST node, by walking up the semantic tree to find the tightest diagnostic severity modification. The default severity is used if it was not overridden. This allows components outside of the Resolver/Validator to determine the diagnostic severity while walking the AST, which is required for the uniformity analysis. Bug: tint:1809 Change-Id: I4caf99d7412fb22fb1183b2c8cfde349da2fefd3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117601 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.