commit | c5e28285516df2f149c97bf5a4f08485debb06cf | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Feb 05 14:05:11 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 05 14:05:11 2025 -0800 |
tree | 801a7103e9623fb45b60c18bea1581d90d7c440d | |
parent | e0362cf1a77248558d83cd62bef5325927c25b72 [diff] |
[msl] Handle subgroupMatrixLoad builtins Replace them with simdgroup_load intrinsics in the builtin polyfill transform. The MSL intrinsics take a pointer to the first element, and have a `matrix_origin` parameter that must be a `ulong2`. We need to declare a temporary variable to load the matrix into. Bug: 348702031 Change-Id: If49f83f69d82dd9104c69ad482e738113f6f71c2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/224255 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.