| commit | 007ad1e4f1208aff6d07edcb359a252690328cb4 | [log] [tgz] |
|---|---|---|
| author | dan sinclair <dsinclair@chromium.org> | Mon Jul 07 18:42:30 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 07 18:42:30 2025 -0700 |
| tree | 11bc3a2a4a4ae227980e48eca25bbbfc7a0700bc | |
| parent | f5670a4f65bde69d3084a552cb10bd54129be4ad [diff] |
[spirv-reader][ir] Handle Phi in loop body. It's possible to have a PHI in a loop body, that isn't in the loop header itself. In this case, the incoming branches end up being the header, and unreachable blocks. Handle by ignoring anything other then the header block in this case. Change-Id: Idb26c0ab81cdccb64c2d101ecd3bcb155c94e6ef Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/250956 Commit-Queue: 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.