commit | c34c221245916c128f7fdcd946ab8e578bc5e1ac | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Tue May 27 18:21:54 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 27 18:21:54 2025 -0700 |
tree | 4f554f086f97a73b4c444a0383ad1d52fd5aabb6 | |
parent | b0a896c7d1068fa06f9347b69d2734da0aa2f31a [diff] |
Range Analysis: Compute range of a `Convert` expression This patch implements the computation of the range of a `Convert` expression when it is converting between `i32` and `u32`. A `nullptr` will be returned when any overflow or underflow happens. Bug: 348701956 Test: tint_unittests Change-Id: Iab00f2065508f7fcf32f7c7bd8846694a465b34c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/243875 Commit-Queue: Jiawei Shao <jiawei.shao@intel.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.