commit | a9691e1ef6841c9675ffb95134f8bb8319d5257e | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Mon Aug 14 14:17:51 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 14 14:17:51 2023 +0000 |
tree | 612271d2ade2bd973639e625976e1f443fa1d1fd | |
parent | c8b5e73fc519d3c841611afc454673ee43a7f216 [diff] |
[msl] Add support for chromium_experimental_subgroups Use a transform to replace calls to `subgroupBallot()` with a helper function that masks out the unused bits, as well as converting the 64-bit output from MSL's `simd_active_threads_mask()` function to a vec4u. Adds the ability to change the target MSL version used for validation, which is automatically bumped to MSL 2.1 if the subgroups extension is used. Bug: tint:2000 Change-Id: I3161b249acd90378be52b18f6325c82fd9dc80b2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/146460 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.