commit | d86e9a765cb57b9e3c8476731a4de964e2dd25a3 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Fri Dec 08 16:29:28 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 08 16:29:28 2023 +0000 |
tree | 35cb7ab79dbf5190c3d12f34ff04ff395085220a | |
parent | 3f11e1e7dff3c0a0a0ecc6d3ae23f9070f4c0aa8 [diff] |
[spirv-reader] Pass workgroup_id as argument To avoid uniformity issues, run a transform to pass workgroup_id builtin values down the callstack instead of storing and re-loading them from a module-scope private variable. This requires that we temporarily disable the uniformity analysis in the SPIR-V reader until this transform has run. Fixed: tint:2031 Change-Id: If6d4ca6ab8b6561828fffe3ff87423c779faafed Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164940 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: James Price <jrprice@google.com> Reviewed-by: David Neto <dneto@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.