commit | 101fa27be803f1a5686efe0908434405c0283113 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Aug 09 14:04:56 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 09 14:04:56 2023 +0000 |
tree | 7a7bfac8850e6e947b1c92d104d0f311372605c5 | |
parent | cef35b16b3150563ce59f1e98dded5a046293088 [diff] |
[ir] Fix MergeReturn for trailing returns Always create a new if-continue-execution instruction when the subsequent instruction is a return that has a value. Otherwise, the return gets folded into the existing if-continue-execution block without being guarded, and then overwrites the return value. Bug: tint:1906 Change-Id: I638c430a342f8e148a6ab8e449357fea3ccfd63e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/145580 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Auto-Submit: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@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.