commit | a214aef2bd064517ee77e43c21751e0b09bfa157 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Mar 25 11:39:25 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 25 11:39:25 2025 -0700 |
tree | 6e775daaa84293163aac59ab4713a1e98b31c3aa | |
parent | ff043360fb4527784a7362057bc3bc28589f682f [diff] |
[spirv-reader][ir] Handle if jumping to switch merge. An `if` inside a `switch` can exit to the switch merge block. In this case, we need to make sure we insert the `break` for the `if` when emitting the `OpBranch` otherwise we'll get a default exit from the `if`. Bug: 391485718 Change-Id: I26e8e18b52aa86188a102c09735ef2dcf519a339 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/232836 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.