commit | a23bcd8a0caacc5377ace15cf3849fcd0e69ef8f | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Sep 04 16:04:34 2024 +0000 |
committer | James Price <jrprice@google.com> | Wed Sep 04 16:04:34 2024 +0000 |
tree | 8baf88b1ed03f173cf82271dd59de0664d40457a | |
parent | dbceb046d1b1f25e736ef478450baca9667df30b [diff] |
[ir] Allow bitcast to be inlined Bitcast does not have side-effects, so do not flag it in ValueToLet as having load/store effects. This allows bitcast expressions to be inlined more aggressively in the textual backends, which greatly improves the output of the following patch for signed integer arithmetic in MSL. Change-Id: I49afa8c9aef819f59ccbdfeeb281cf58bcf526e8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/205234 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: 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.