commit | b9d5153295685cc0b7b0bd774d83b32c5a0f83f9 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu Apr 03 14:25:31 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 03 14:25:31 2025 -0700 |
tree | 51bad0cc776df29ef00d615342153a5a2024de90 | |
parent | e579b628e5d5276086b6a2eaefa1718586bc7e18 [diff] |
[tint] Emit expressions in workgroup_size() to the root block An instruction produced from an expression inside the workgroup_size attribute needs to be emitted into the root block so that it is in scope before the function declaration. Fixed: 408034111 Change-Id: I9943c938818df66a2c5db209aa81e76c0dcb8f52 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/234655 Reviewed-by: Peter McNeeley <petermcneeley@google.com> 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.