commit | a7e91f5d02c9f5acad3104f91c4ad19f68a05c6a | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed May 29 15:38:19 2024 +0000 |
committer | James Price <jrprice@google.com> | Wed May 29 15:38:19 2024 +0000 |
tree | bea2e956a601f53a388d1263c1938a95532d928a | |
parent | 02cf91129de9237ec0dd58430b3fb6c2b971b5b0 [diff] |
[spirv] Do not add exit phi for loop initializer When a loop with an empty initializer block has results, we were treating the initializer as an implicit exit block and adding OpPhi operands for it. The only implicit exit blocks we have are on `if` instructions, so restrict the implicit exit block logic to those. Change-Id: If0beaba4816f683fd58ec82d832a12c59f07e347 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/190462 Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: Ben Clayton <bclayton@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.