commit | a011340893851a7d3b1a260123513bd90dc9d039 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Jul 03 18:48:01 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 03 18:48:01 2024 +0000 |
tree | 5f993b1682c1866bb1c72614bc3334ce6db88436 | |
parent | e0bb763d4c499ce8a74c234b46851a74a0f2f725 [diff] |
[hlsl] Add polyfill for `trunc` This CL adds a polyfill for the `trunc` builtin with turns it into a ternary with floor and ceil. Bug: 42251045 Change-Id: I8a51654726ca38ae2bad66cb84d9aab1e0100917 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/196814 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: 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.