commit | 11bc1b0cfde39f1f05a36e4417706ab38d7fb72b | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu Sep 14 13:45:19 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 14 13:45:19 2023 +0000 |
tree | 95beaae7ccf1b440e974f8a95225f89cf2de904b | |
parent | ff81c01fe4a6ac42322775893a180d7323c7120a [diff] |
[ir][spirv-writer] Fix OpPhi incoming blocks Terminator instructions may be nested inside merge blocks, so we cannot just use the label of the containing IR block for OpPhi incoming block labels. Instead, walk backwards from the terminator to find a preceding control instruction and use its merge block. Bug: tint:1906 Change-Id: Ifcd30f8492d992742d72ec47c6cb4d5aac207b9d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/151500 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: James Price <jrprice@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.