[tint] Polyfill for f16 saturate mesa This enables a special polyfill for saturate that obfuscates a clamp by using a different order of min/max to prevent the intel mesa compiler from detecting the saturate and applying an incorrect optimization. Bug: 448873316 Change-Id: I7f78c2540a00640d76600e4d6b751f085d3cfe38 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/277115 Commit-Queue: Peter McNeeley <petermcneeley@google.com> Reviewed-by: James Price <jrprice@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.