intrinsics: Add degrees() and radians()

Fixed: tint:1329
Change-Id: I5fb927268fc9cb8047a2b365d26e813a8546605a
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/75423
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
Ben Clayton
2022-01-05 20:11:00 +00:00
committed by Tint LUCI CQ
parent 4beeaea9da
commit 5c99ed046a
77 changed files with 5932 additions and 3149 deletions

View File

@@ -12,6 +12,7 @@ The following features have been deprecated and will be removed in M102:
### New Features
* Vector and matrix element type can now be inferred from constructor argument types. [tint:1334](https://crbug.com/tint/1334)
* Added builtins `degrees()` and `radians()` for converting between degrees and radians. [tint:1329](https://crbug.com/tint/1329)
## Changes for M98