commit | b7114a6b6974612d378066b31fb4f0d39218c783 | [log] [tgz] |
---|---|---|
author | Natalie Chouinard <chouinard@google.com> | Wed Aug 14 16:10:59 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 14 16:10:59 2024 +0000 |
tree | b6d0c6ec32790e14c3b2750ae6cb64a16d3b10b9 | |
parent | 239f9139d016cbca95775eb954eb908b4b0ea225 [diff] |
[tint] Implement quadBroadcast Implement WGSL builtin quadBroadcast in the SPIR-V IR backend, MSL AST and IR backends and HLSL AST and IR backends. Subgroup builtins are not yet implemented for the GLSL backend. Constness of the ID arg is validated in the resolver, and a polyfill is implemented in the SPIR-V backend to bitcast signed integer IDs to unsigned. Validation against negative ID args has been added for both subgroupBroadcast and quadBroadcast. Bug: 354738715 Change-Id: Iadb9726113bb964d51bbf4788f5deae4ae85b6d5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/202374 Reviewed-by: dan sinclair <dsinclair@google.com> 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.