dawn-cmake/tools/src
Zhaoming Jiang 6fe1f515d4 tint: Add f16 support for parts of float built-in, part 1
This patch add f16 support for a major part of numeric built-in, and
implement corresponding unittests for resolver and backends. This patch
also enable f16 constant evaluation for unary minus operator, `atan2`
and `clamp`.

The following numeric built-ins are not supported yet:
* frexp
* modf

The end-to-end tests for f16 built-in are not added yet.

Bug: tint:1473, tint:1502
Change-Id: If807185617b21c510a1a9c371179a60800c4f875
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96722
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
2022-07-29 11:41:51 +00:00
..
bench tools/src: Fix up paths post-tint-merge 2022-04-07 17:50:24 +00:00
buildbucket tools: Add buildbucket package 2022-04-14 09:50:30 +00:00
cmd tools: Expand / clean-up the template WGSL type helpers 2022-07-27 19:36:49 +00:00
container tools: Add src/cts/results.List.MinimalVariantTags 2022-04-29 08:13:19 +00:00
cts tools/cts: Fix go unit tests 2022-07-08 14:23:15 +00:00
dawn tools: Flesh out the gerrit package 2022-04-12 16:13:31 +00:00
fileutils tools/src: Fix up paths post-tint-merge 2022-04-07 17:50:24 +00:00
gerrit Update CTS roller to generate reftest/idl test sources 2022-06-10 16:25:43 +00:00
git tools/src/cmd/perfmon: Fixes / improvements 2022-04-25 21:06:21 +00:00
gitiles Update CTS roller to generate reftest/idl test sources 2022-06-10 16:25:43 +00:00
glob tools/src: Fix up paths post-tint-merge 2022-04-07 17:50:24 +00:00
list tools/src: Fix up paths post-tint-merge 2022-04-07 17:50:24 +00:00
lut tools/src: Fix up paths post-tint-merge 2022-04-07 17:50:24 +00:00
match tools/src: Fix up paths post-tint-merge 2022-04-07 17:50:24 +00:00
resultsdb tools/cts: Bunch of fixes for 'cts roll' 2022-05-02 20:44:21 +00:00
subcmd tools: Add 'subcmd' package 2022-04-29 16:30:24 +00:00
substr tools: Shuffle go code into an idiomatic tree 2021-05-14 18:47:33 +00:00
tint/intrinsic tint: Add f16 support for parts of float built-in, part 1 2022-07-29 11:41:51 +00:00
utils tools: Extract getDawnRoot() from run-cts to utils 2022-04-29 11:18:43 +00:00