commit | 904fb33c00b7f964522481c9f3a1b6f2704b01cb | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Mar 25 11:39:12 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 25 11:39:12 2025 -0700 |
tree | aecd4ff77f08bb3e928f41ab2cda26270cb30c99 | |
parent | f94c816d4019f0e8629ba7b5d3e0a826f3d68cc0 [diff] |
[spirv-reader][ir] Handle loop header being a merge block. A loop header block maybe the merge block for a previous instruction. In that case, we will have the header block ID in the walk stop list already. Instead of skipping the insert due to the existence of the key, instead overwrite the value. In the case where the ID is in the list already, are emitting the stop block itself, so we know its no longer a stop block as they all get emitted after their respective instructions. Bug: 391485718 Change-Id: Idbf8995bcb3bb6168803ae513ad4ca9b140d07e1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/232834 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.