commit | efa950666ed23c1346366abe21b3c94707fcf2e8 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Jun 05 14:46:33 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 05 14:46:33 2025 -0700 |
tree | 0bddc223d7b144802f29bd17a36a329a5da5eb21 | |
parent | 96f840d425bce937529ade2b4d7ec8801b134351 [diff] |
[spirv-reader][ir] Convert local invocation index when needed. In SPIR-V the local invocation index can be i32 or u32. In WGSL it must be u32. Make sure we do any required conversions to match types. Bug: 42250952 Change-Id: I5ea4e0ab5ea49b03af467da76db4cd502fdfeda7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/245655 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
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.