commit | 085f92c2230a80a371536e3981f6542f6a78ef27 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Jul 24 19:25:02 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 24 19:25:02 2024 +0000 |
tree | 7a5d1c19397f95736c3d66e5da85b48d5bef1667 | |
parent | 3f657b9e679dc3a9f35f4a9f880f5da02ae86478 [diff] |
[spirv] Fix unreachable in loop continuing blocks SPIR-V requires that continue blocks are structurally post-dominated by back-edge blocks, and the presence of OpUnreachable (a function terminator) can trip up this validation. Use a transform to replace unreachable instructions nested inside loop continuing blocks with regular branches. Fixed: 354627692 Change-Id: Idd6f58e755f761ba8b8c966ac01619df53974177 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/199896 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: David Neto <dneto@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.