commit | d10ba2f9645196ed769406c337cf0913fe606c7a | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Sep 03 20:04:22 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 03 20:04:22 2024 +0000 |
tree | b951bf7eb2074a70b8d3dba3ebcf8318e2cc7272 | |
parent | fc9ac865ac2fb023787efd4adec920f908f7d7f4 [diff] |
[msl] Polyfill quadSwap* builtins We can do this with MSL's `quad_shuffle_xor()` intrinsic, which is a lot simpler than manually computing the masks based on the `subgroup_index` builtin (as done by the AST backend). Bug: 42251016 Change-Id: Ie58708c2103a280ad7fb80ca29ad5de1389afc36 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/204678 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.