commit | 4c4ed517201a49bddd16bd3f655b85c4ecbdf72e | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Jul 02 17:28:35 2024 +0000 |
committer | James Price <jrprice@google.com> | Tue Jul 02 17:28:35 2024 +0000 |
tree | dcede415a39b3ef579d9541ecf9414326a2b5ac4 | |
parent | a11e58c3a87d4cab8f4dcc3f4b4053e4e02f90cf [diff] |
[msl] Add polyfill for integer sign Integer overloads of `sign()` are replaced with select operations. Add an MSL builtin definition for sign that only accepts floating point arguments. Bug: 42251016 Change-Id: I2b27c73815dc01f10bb47d5d9255f76813c7acec Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/196356 Reviewed-by: 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.