commit | a324e1a5e0e2a7c1b5e76247a783217c6c71cb65 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Fri Sep 29 20:51:17 2023 +0000 |
committer | James Price <jrprice@google.com> | Fri Sep 29 20:51:17 2023 +0000 |
tree | e19742ab9fc39cc4b1550eb40dc2eca660e97975 | |
parent | 864adbf6187749e41900201333b4b2f841c9069e [diff] |
[ir] Add polyfill for ftoi conversions Use the select builtin to clamp out-of-range values to the domain of the target integer type. Use it in the SPIR-V writer. Bug: tint:1906 Change-Id: I42b7b48d9e2f419bba6cdc39c4996e936626d790 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/154060 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.