commit | 91bbbc4977f14bff6ad86fbde7e4dd40d36f1a2d | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Mon Jul 17 22:38:02 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 17 22:38:02 2023 +0000 |
tree | 67ac1dcc05aee976cdbee44c74eda666147459f5 | |
parent | c5c8f6356450b097c9ac50836874eda48b8c8d04 [diff] |
[ir][spirv-writer] Expand implicit vector splats Add a new transform that looks for implicit vector splats in construct or binary instructions and expands them to be explicitly constructed vectors instead. Add an intrinsic for OpVectorTimesScalar and use that for the floating point vector * scalar case, instead of pattern matching in the writer. Bug: tint:1906 Change-Id: I0452ec375916d603ac28b19e362ae8d6c2f4f88e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/141234 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Auto-Submit: James Price <jrprice@google.com> Commit-Queue: James Price <jrprice@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.