commit | 122a6516ce8af3af3b8bcce8a28b60a267dba26b | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Fri Jun 06 12:24:32 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 06 12:24:32 2025 -0700 |
tree | c682fd9451c2dfc0a307baa791e15b749abf64e6 | |
parent | 1abf3e953db9d4cab2fadc819e8c7ab5d5f33706 [diff] |
[spirv-reader][ir] Fix propagation when jumping if controls. It's possible to jump the exit of an `if` and go straight to the exit of a `loop` (a `break`). In that case, if we're propagating something from inside the `if` we do not pass the result up through the `if` but instead pass it directly through the `exit_loop` and return from the `loop`. This is done by checking if the control has any exits before attaching the propagated result. Bug: 422539666 Change-Id: I03484a38c2758c7d39c0fe2310c649042e6e40b6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/245757 Commit-Queue: dan sinclair <dsinclair@chromium.org> Auto-Submit: dan sinclair <dsinclair@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.