commit | cda4e1d07860e12aa1721d8ca6899f1709df0aa3 | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Thu Dec 05 15:04:58 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 05 15:04:58 2024 +0000 |
tree | b40366940296a7bf3a77d91618398effc42bb4eb | |
parent | e55148fc54a676a7756516195afbc7fb49585861 [diff] |
[tint][ir][val] Reject discards outside of functions While working on root causing the issue that led to this change I found some other related issues that should be addressed. They have been bundled up into this change: - Run() is modified so that later validation passes don't run if CheckStructureSoundness fails, since they assume that it passed. - ContainingFunction returns nullptr if the input is in the root block, which helps prevent ContainingEntryPoint from crashing in a very confusing way. Fixes: 382298307 Fixes: 382291447 Fixes: 382294238 Change-Id: Ibce8c5c52d6df960a54b0438cff7a07fe740c961 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/218174 Commit-Queue: dan sinclair <dsinclair@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dan sinclair <dsinclair@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.