commit | d9ca1a8b1a64c83775ceb4f9274f209b7c86a491 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue May 07 00:10:51 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 07 00:10:51 2024 +0000 |
tree | ed306033b37c58186d89956af8c8e614e4b71ee8 | |
parent | 6be95cec0b75d0d08cba9b56f56d4ed4ee5ee64e [diff] |
[uniformity] Fix ICE for pointer parameters The code for determining the source of uniformity was assuming that a parameter node was always visited directly from an identifier expression node. This is not the case when there is control flow before the identifier expression that introduces additional nodes for merging values. Add extra metadata to parameter nodes so that we can correctly emit their source info instead. This also slightly improves error messages for pointer parameters. Fixed: 42251307 Change-Id: I4a3fed2c5f9c177c0b227a8354fd1564599c8d0a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/186540 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: James Price <jrprice@google.com> Auto-Submit: James Price <jrprice@google.com> Reviewed-by: Ben Clayton <bclayton@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.