commit | 8879b18dfab98489f845c15f805a1a337666eba9 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Sep 25 14:35:19 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 25 14:35:19 2024 +0000 |
tree | 3095c2cca559d7ff715f0d9c54db0d6eaabb41ab | |
parent | 5deac0c200e39547db7ce657ad1d5d3ef60c2bcd [diff] |
[glsl][ir] Add polyfill for `abs` This CL adds the `abs` polyfill for the GLSL IR backend. GLSL does not support `abs` on unsigned values. Bug: 42251044 Change-Id: I80f123f4421a813b60d92c2fed417896cd2dfa32 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/208114 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.