dan sinclair 7092786f31 Fixup return of HLSL sign to match WGSL.
The HLSL `sign` method returns an `int` result (scalar or vector). The
WGSL `sign` expects the result to be the same type as the argument. This
CL injects a cast to the correct type after the `sign` call in the HLSL
generated source.

Bug: tint:1795
Change-Id: I51fed24b5b8b752b6b27fdfb5dd47eb803902793
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116692
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2023-01-11 13:18:29 +00:00
..
2022-11-10 00:32:12 +00:00
2022-11-10 00:32:12 +00:00
2022-11-10 02:39:08 +00:00
2022-11-03 12:07:49 +00:00
2022-10-29 16:21:24 +00:00
2022-11-10 00:32:12 +00:00
2022-11-10 00:32:12 +00:00
2022-11-10 00:32:12 +00:00
2022-11-10 00:32:12 +00:00
2022-11-10 00:32:12 +00:00
2022-11-10 00:32:12 +00:00
2022-11-10 00:32:12 +00:00
2022-11-10 15:52:41 +00:00
2022-11-10 15:52:41 +00:00
2022-11-10 00:32:12 +00:00
2022-11-24 21:48:48 +00:00
2022-11-22 15:02:55 +00:00
2022-07-26 17:16:15 +00:00
2022-07-26 17:16:15 +00:00
2022-11-23 16:37:21 +00:00
2022-11-23 16:37:21 +00:00
2022-11-10 00:32:12 +00:00
2022-11-24 21:54:00 +00:00
2022-12-13 23:59:45 +00:00
2022-07-26 17:16:15 +00:00
2022-11-02 20:40:23 +00:00
2022-11-24 18:16:13 +00:00
2022-12-16 18:37:19 +00:00
2022-11-23 00:00:45 +00:00
2022-11-23 17:34:40 +00:00
2022-11-23 17:34:40 +00:00
2022-11-15 18:39:38 +00:00
2022-11-15 18:39:38 +00:00
2022-12-12 15:31:21 +00:00
2022-11-25 04:25:18 +00:00
2022-12-13 16:29:06 +00:00
2022-11-16 22:52:08 +00:00
2022-11-10 00:32:12 +00:00
2022-11-10 00:32:12 +00:00
2022-11-10 14:20:36 +00:00
2022-11-10 14:20:36 +00:00
2022-11-16 23:02:39 +00:00
2022-11-16 21:15:49 +00:00
2022-11-10 00:32:12 +00:00
2022-11-10 15:55:00 +00:00
2022-11-10 15:55:00 +00:00
2022-12-15 16:42:28 +00:00
2022-11-16 20:07:31 +00:00