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-24 05:25:35 +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-02 02:25:38 +00:00
2022-11-02 02:25:38 +00:00
2022-11-02 02:25:38 +00:00
2022-11-02 02:25:38 +00:00
2022-11-02 02:25:38 +00:00
2022-11-02 02:25:38 +00:00
2022-11-02 02:25:38 +00:00
2022-11-02 02:25:38 +00:00
2022-11-02 02:25:38 +00:00
2022-11-02 02:25:38 +00:00
2022-11-02 02:25:38 +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-10-29 14:02:38 +00:00
2022-10-31 18:44:15 +00:00
2022-10-29 14:02:38 +00:00
2022-11-10 00:32:12 +00:00
2022-11-21 18:00:01 +00:00
2022-11-23 19:16:15 +00:00
2022-11-24 21:48:48 +00:00
2022-11-22 15:02:55 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-07-26 17:16:15 +00:00
2022-07-26 17:16:15 +00:00
2022-07-26 17:16:15 +00:00
2022-07-26 17:16:15 +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-03 13:03:08 +00:00
2022-11-25 23:35:53 +00:00
2022-10-31 20:34:36 +00:00
2022-10-31 22:57:14 +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-11-23 19:57:00 +00:00
2022-07-26 17:16:15 +00:00
2022-07-26 17:16:15 +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-23 19:57:00 +00:00
2022-11-25 04:25:18 +00:00
2022-11-09 20:04:37 +00:00
2022-11-07 14:32:16 +00:00
2022-11-07 14:32:16 +00:00
2022-11-07 14:32:16 +00:00
2022-11-07 14:32:16 +00:00
2022-12-13 16:29:06 +00:00
2022-11-02 17:29:48 +00:00
2022-11-21 18:00:01 +00:00
2022-11-28 15:13:16 +00:00
2022-11-28 21:14:36 +00:00
2022-11-04 13:48:26 +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-12-07 19:52:49 +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-07-26 17:16:15 +00:00
2022-11-10 15:55:00 +00:00
2022-11-10 15:55:00 +00:00
2023-01-07 17:19:21 +00:00
2022-12-15 16:42:28 +00:00
2022-12-15 16:42:28 +00:00
2023-01-11 13:18:29 +00:00
2022-10-26 18:36:44 +00:00
2023-01-07 17:19:21 +00:00
2022-10-26 18:36:44 +00:00
2023-01-07 17:19:21 +00:00
2023-01-11 13:18:29 +00:00
2022-12-15 16:42:28 +00:00
2022-12-15 16:42:28 +00:00
2022-12-15 16:42:28 +00:00
2022-12-15 16:42:28 +00:00
2022-12-15 16:42:28 +00:00
2023-01-07 17:19:21 +00:00
2022-11-23 23:12:56 +00:00
2022-11-16 20:07:31 +00:00
2022-11-09 20:04:37 +00:00
2022-11-07 22:28:01 +00:00
2022-11-07 22:28:01 +00:00
2022-11-07 22:28:01 +00:00
2022-11-07 22:28:01 +00:00
2022-07-26 17:16:15 +00:00
2023-01-06 02:25:06 +00:00