| commit | 20daba04500ef22e7fe460291e521a22308728c4 | [log] [tgz] |
|---|---|---|
| author | dan sinclair <dsinclair@chromium.org> | Tue Feb 11 05:32:03 2025 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 11 05:32:03 2025 -0800 |
| tree | 15c2f07754f54b5548389d559b25e3beff456744 | |
| parent | 4622ac3f1e21dc089f61dcea20edc6218a0da3a5 [diff] |
[spirv-reader][ir] Support `OpBitFieldUExtract`. Adds support to translate `OpBitFieldUExtract` into the WGSL `extractBits` method. In SPIR-V the `count` and `offset` parameters maybe an `i32` which is treated as unsigned. In WGSL they must be `u32` so bitcast as needed. Bug: 391487020 Change-Id: I11629d04b927dc5c35614e1d8f706315454ebd18 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/225834 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.