commit | ddcec00320de1bc31427c4171ccc2bac52b6e892 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Jun 19 22:38:07 2024 +0000 |
committer | James Price <jrprice@google.com> | Wed Jun 19 22:38:07 2024 +0000 |
tree | 1b91358d703549f7208499e08be888e57f0b505a | |
parent | f6d51ec54d46e90b26d611e17abb1ef41f801160 [diff] |
[msl] Add polyfill for dot builtin The MSL `dot` builtin does not accept integer parameters, so add a helper function that manually computes an integer dot product. Add an MSL builtin for `dot` that only accepts floating point parameters. Bug: 42251016 Change-Id: Icefd439229c3b4ffc02e5cbddbc2bda4b5cf06eb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/194341 Reviewed-by: 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.