commit | 591e8cd0c6adb2849d3501499c0658552d6215ad | [log] [tgz] |
---|---|---|
author | Peter McNeeley <petermcneeley@google.com> | Tue Jun 17 19:14:43 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 17 19:14:43 2025 -0700 |
tree | 22be24f2d1ee553cea0c20f3d82781f64c5ab115 | |
parent | 2793f8642f7bb0f1209f33e7a35a5996286de11c [diff] |
[tint] Basic scalarization support (max min clamp) Various platforms seem to have issues with vectorized max,min, and clamp builtins. For adreno this likely is due to a poor front end implementation of handling nans. For Intel (gen9) it is less clear where the implementation goes wrong but what is clear is that scalarization resolves the issue. Removed spirv only scalarization as it is duplicate. End2End test still remains and passes. Bug: 422144514, 407109052 Change-Id: Ie16617136be6e5993d5cf9c813eac2aa6b5492af Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/246095 Reviewed-by: James Price <jrprice@google.com> 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.