| commit | 5b595fdbcfc1d0d79354ab74f675c564273874c7 | [log] [tgz] |
|---|---|---|
| author | Peter McNeeley <petermcneeley@google.com> | Wed May 07 08:27:55 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 07 08:27:55 2025 -0700 |
| tree | ba2026b5bd7e3e47150c673e8800a546f76f1f26 | |
| parent | 74db82e3a014532444aee424d000bb3b4aff406c [diff] |
[tint] Polyfill vector clamp via scalarization Some backend compilers (qq Adreno) have issues in the implementation of NClamp for vectors with nan inputs. Scalarization works around these issues and since NClamp is an extended SPIRV instruction the polyfill is only in the spirv backend of tint. Bug:407109052 Change-Id: I9c766e895420a26cbc1d4d6a6ba9522e5a543077 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/240495 Reviewed-by: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Peter McNeeley <petermcneeley@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.