commit | 685fc7cc7f98482fde7883b2019a17ef335e696c | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Jan 21 17:58:19 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 21 17:58:19 2025 -0800 |
tree | 57b366808af3d75d697d63f93cd1c5d5cebd864a | |
parent | ae6d669db76ec0ab5d083c8dfabd0f13011a9db6 [diff] |
[spirv-reader][ir] Correctly handle GLSL 450 UMax The SPIR-V `UMax` 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: Iec13d8771c9f0f4b42610cf442a8bbf1b1bb9d0b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/222754 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.