commit | d7338fe7f6978798a6bb7f72b50ad2374610c247 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Jul 04 00:54:15 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 04 00:54:15 2024 +0000 |
tree | d3c1c3726440969c3b5f1697babcfe452ad0413e | |
parent | da5c6d59a454f792e3343148a0ed3817a43a5157 [diff] |
[hlsl] Polyfill matrix multiplication. This CL modifies the `mat * vec`, `vec * mat` and `mat * mat` binary expressions to use the custom `hlsl.mul` intrinsic and flips the LHS and RHS operands in order to match HLSL semantics. Bug: 42251045 Change-Id: I2433d4c341c99276d90fd1ee765f79568698948a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/196815 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
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.