commit | 0cf4773092a770b542fe8881190effe41df2b80b | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Feb 05 17:43:27 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 05 17:43:27 2025 -0800 |
tree | 51b08c5c67ee400bd3837a571823db286260a8d2 | |
parent | a79b237b63a466aebdc53664569451710cf5d976 [diff] |
[spirv-reader][ir] Add support for GLSL std450 FrexpStruct Add a conversion of the FrexpStruct GLSL method to the WGSL frexp equivalent. The spirv version allows signed or unsigned as part of the result struct but WGSL only allows signed. Convert as needed. This is done directly in the printer as we need to access the original SPIR-V structure type which we'd lose otherwise. Bug: 391673570 Change-Id: Ic9a571ed17d3a198ee052552c8f5346d43ed4665 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/224794 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.