| commit | 0cb9be0cb8443fd4e9bbba7f895d4c2b6ecc8300 | [log] [tgz] |
|---|---|---|
| author | dan sinclair <dsinclair@chromium.org> | Tue Jan 21 15:30:29 2025 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 21 15:30:29 2025 -0800 |
| tree | 024e13687b319a5394f3f0c616613fc3f72c9b19 | |
| parent | 6a48b044a14412927465a547a2856ea63e52896a [diff] |
[spirv-reader][ir] Correctly handle GLSL 450 SMax The SPIR-V `SMax` method allows unsigned arguments and return types. This is not permitted in WGSL. The SPIR-V spec states that the argument is treated as a signed value, so bitcast the argument/result as needed. Bug: 42250952 Change-Id: Ifeca3bafd80edc6e5e0cd2712e0787df4be0442a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/222694 Reviewed-by: David Neto <dneto@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.