commit | 3c13cbd0f11892777ca366e4912a8369c6173191 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Mon Jan 13 21:07:23 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 13 21:07:23 2025 -0800 |
tree | 7faf0231441c2e4778d172969ca4e4da8c53a51c | |
parent | b7dd4ef881716a1c083e7134cbfd1467ced95b38 [diff] |
[spirv-reader][ir] Correctly handle GLSL 450 SSign The SPIR-V `SSign` 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: I89bd7ddd3c2f1f81be6b3e4298090e0ed6cd757e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/221814 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@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.