commit | a088acd5ffe8cf0ac59ef9db3236a1a56f6eb168 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Jan 21 22:33:48 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 21 22:33:48 2025 -0800 |
tree | 2b8e0a62648cc6bf13423dbcceade3da904a3f5a | |
parent | 99ea749195aeb61caec21b503a3848bd695be351 [diff] |
[spirv-reader][ir] Correctly handle GLSL 450 UMin The SPIR-V `UMin` 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: I52fe1f869b15ca8a89c68b57be03928cc80fd7f3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/222755 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: David Neto <dneto@google.com>
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.