dawn-cmake/test/tint
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
..
access tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
array tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
benchmark tint/val: Make DXC validation output stable 2022-07-26 14:23:24 +00:00
buffer tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
bug tint/ast: Clean up StorageClass enum 2022-07-26 22:51:36 +00:00
builtins tint: Add f16 support for parts of float built-in, part 1 2022-07-29 11:41:51 +00:00
const tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
expressions tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
extensions/parsing tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
identifiers/underscore tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
layout/storage/mat2x2 tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
let/inferred tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
loops tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
out_of_order_decls tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
ptr_ref tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
samples tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
shader_io tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
shadowing tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
statements tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
struct tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
types tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
unicode tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
unittest/reader/spirv tint/val: Make DXC validation output stable 2022-07-26 14:23:24 +00:00
var tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
vk-gl-cts tint/val: Make DXC validation output stable 2022-07-26 14:23:24 +00:00
extract-spvasm.py tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
test-all.sh tools: Replace copy-pasta scripts 2022-04-07 18:26:45 +00:00