commit | dbefda9194f3a27eb6a29955b6d949c930531746 | [log] [tgz] |
---|---|---|
author | Natalie Chouinard <chouinard@google.com> | Tue Aug 13 19:10:21 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 13 19:10:21 2024 +0000 |
tree | d08a69a66e197293827807e8ca0da12414757b24 | |
parent | 1026cc1563fbf0f80a48e01e9571059021104112 [diff] |
[tint] Implement subgroupShuffleXor, Up and Down Implement WGSL builtins subgroupShuffleXor, subgroupShuffleUp, and subgroupShuffleDown in the SPIR-V IR backend (not AST), MSL AST and IR backends and HLSL AST and IR backends. Subgroup builtins are not yet implemented for the GLSL backend. A polyfill is necessary for the HLSL backends to implement these functions in terms of WaveReadLaneAt. This is implemented as an IR transform for the IR backend, and in the AST printer for the AST backend. Bug: 354738715 Change-Id: I06e41def207168d357031d36f8af5e44242478a6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/202234 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Natalie Chouinard <chouinard@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.