commit | 3b9c3e8207717c29944a9cfc1acf787779d399aa | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Mon Dec 02 23:15:57 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 02 23:15:57 2024 +0000 |
tree | 8fa5fd6b63dc664b665567509d2d23377a0223e8 | |
parent | d7727b4aaa8fe9e3005a7217fc36fe2e9baacc6f [diff] |
[tint][ir] Add type::Function to avoid ->Type() returning nullptr This synthetic type is used by ir::Function, so that it can return a valid pointer instead of a nullptr. This allows removal of special case logic from the validator, and avoid other potential undetected issues. Fixes: 381281326 Change-Id: I7665a56ac3e5c20442c59963f9afa4b416fff9d7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/217274 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: James Price <jrprice@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.