commit | fedd80c74b5e614196c95843923db2a11ea49a03 | [log] [tgz] |
---|---|---|
author | Peter McNeeley <petermcneeley@google.com> | Wed Dec 11 07:59:47 2024 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 11 07:59:47 2024 -0800 |
tree | e64c74fa764b32a26651749c5fbd35e757d98eae | |
parent | 01d91c0571a2692ab9df48b8f463209592d3d0d2 [diff] |
[tint] Polyfill Smoothstep functions for all IR We are extending the acceptable inputs for smoothstep to include the cases where 'low' > 'high'. For the remaining non-ir paths: There will be no compiler errors for low > high but the result cannot be expected to pass conformance. I have added "smoothstep.wgsl" tint end2end test to cover this case. Bug: 379909620 Change-Id: I963d3411d152c641c5f9761b7d835220ab7b334c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/218175 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.