commit | 4c4b317364670161d5626772b54982551a187581 | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Wed Jan 22 15:03:50 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 22 15:03:50 2025 -0800 |
tree | d87c8d3a58bd1ea245e67bae48d9c96bb8d7d284 | |
parent | 86e0b0082a7c14fb5a30a13ebefae918d833f722 [diff] |
[tint][ir][val] Improve reporting of types in error messages Adds in more information about types into error message, so that what the validator thinks is a problem is clearer. This helps from a user experience perspective by making things like you are forgetting to load a pointer, i.e. received 'ptr<i32>' instead of a scalar, more obvious without having to dig into the disassembly. This also helps from a Tint dev perspective, since it indicates what the validator thinks it is looking at vs what is in the actual IR. Again if something like an unwrap is missing in the validator code, the reported type makes that easier to see. Fixes: 391129946 Change-Id: I42bae56ae554f7c7e78be7c588cf9164ae8f28a9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/223014 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org>
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.