commit | 46bc819b4a916b048cc5c502cc09f832ce79613f | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Aug 07 06:27:40 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 07 06:27:40 2025 -0700 |
tree | 18420e84b21fd89a1fd4b7a44ee3c4c9bdb0d656 | |
parent | 5e8fafe63838d857f9b37b26cc45055d79bc4ad9 [diff] |
[spirv-reader][ir] Fix constant-id check for NonUniform calls. The original check that the `value` was constant was a) too broadly applied and b) the wrong operand to check. This Cl constrains the check to just the Broadcast, QuadBroadcast and QuadSwap instructions and corrects the check to use the `Invocation Id` instead of the `Value`. Fixed: 432807736 Change-Id: I643d3e44a77aa65ed8f9ce26c1fb9ade2c5b8fd6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/256374 Reviewed-by: James Price <jrprice@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.