[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.