Ben Clayton
c6b381495d
tint/transform: Refactor transforms
...
Replace the ShouldRun() method with Apply() which will do the
transformation if it needs to be done, otherwise returns
'SkipTransform'.
This reduces a bunch of duplicated scanning between the old ShouldRun()
and Transform().
This change also adjusts code style to make the transforms more
consistent.
Change-Id: I9a6b10cb8b4ed62676b12ef30fb7764d363386c6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/107681
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-11-03 08:41:19 +00:00
..
2022-05-19 23:05:40 +00:00
2022-05-01 14:40:55 +00:00
2022-05-19 23:05:40 +00:00
2022-05-01 14:40:55 +00:00
2022-10-25 17:58:42 +00:00
2022-10-25 10:05:18 +00:00
2022-10-31 17:26:10 +00:00
2022-10-31 17:26:10 +00:00
2022-10-31 17:26:10 +00:00
2022-05-01 14:40:55 +00:00
2022-10-25 17:58:42 +00:00
2022-10-25 10:05:18 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-09-02 11:40:19 +00:00
2022-10-17 09:14:16 +00:00
2022-10-17 09:14:16 +00:00
2022-05-01 14:40:55 +00:00
2022-10-25 17:58:42 +00:00
2022-10-25 10:05:18 +00:00
2022-10-20 22:45:50 +00:00
2022-10-20 22:45:50 +00:00
2022-10-06 19:23:29 +00:00
2022-11-02 00:09:50 +00:00
2022-10-06 19:23:29 +00:00
2022-11-02 00:09:50 +00:00
2022-10-06 19:23:29 +00:00
2022-10-12 18:49:15 +00:00
2022-07-26 07:55:24 +00:00
2022-09-22 22:59:16 +00:00
2022-10-20 13:38:28 +00:00
2022-07-26 07:55:24 +00:00
2022-07-26 07:55:24 +00:00
2022-06-29 19:07:30 +00:00
2022-07-14 20:46:39 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-07-15 23:46:31 +00:00
2022-07-15 23:46:31 +00:00
2022-07-15 23:46:31 +00:00
2022-07-15 23:46:31 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-13 12:01:11 +00:00
2022-10-25 17:58:42 +00:00
2022-10-25 10:05:18 +00:00
2022-05-01 14:40:55 +00:00
2022-10-25 17:58:42 +00:00
2022-10-25 10:05:18 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-10-03 14:05:23 +00:00
2022-10-14 13:44:54 +00:00
2022-05-01 14:40:55 +00:00
2022-10-25 17:58:42 +00:00
2022-10-25 10:05:18 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-07-15 23:46:31 +00:00
2022-07-15 23:46:31 +00:00
2022-04-07 16:04:35 +00:00
2022-07-18 20:50:02 +00:00
2022-10-24 17:49:20 +00:00
2022-10-24 17:49:20 +00:00
2022-07-15 23:46:31 +00:00
2022-06-29 19:07:30 +00:00
2022-05-01 14:40:55 +00:00
2022-10-25 17:58:42 +00:00
2022-10-25 10:05:18 +00:00
2022-07-26 07:55:24 +00:00
2022-10-26 21:54:06 +00:00
2022-08-17 18:07:20 +00:00
2022-08-17 18:07:20 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-04-07 16:04:35 +00:00
2022-05-01 14:40:55 +00:00
2022-07-26 15:46:44 +00:00
2022-07-27 16:36:35 +00:00
2022-07-26 15:46:44 +00:00
2022-07-27 16:36:35 +00:00
2022-04-07 16:04:35 +00:00
2022-10-03 14:05:23 +00:00
2022-10-25 10:05:18 +00:00
2022-10-03 14:05:23 +00:00
2022-10-03 14:05:23 +00:00
2022-10-25 10:05:18 +00:00
2022-10-03 14:05:23 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-10-25 10:05:18 +00:00
2022-05-01 14:40:55 +00:00
2022-10-17 09:14:16 +00:00
2022-10-17 09:14:16 +00:00
2022-10-17 13:18:25 +00:00
2022-10-12 18:49:15 +00:00
2022-09-01 17:35:39 +00:00
2022-10-25 17:58:42 +00:00
2022-10-25 17:58:42 +00:00
2022-10-25 10:05:18 +00:00
2022-10-19 15:55:02 +00:00
2022-10-19 15:55:02 +00:00
2022-05-19 22:54:00 +00:00
2022-05-01 14:40:55 +00:00
2022-10-25 10:05:18 +00:00
2022-05-01 14:40:55 +00:00
2022-07-26 07:55:24 +00:00
2022-07-15 23:46:31 +00:00
2022-10-20 13:38:28 +00:00
2022-10-20 13:38:28 +00:00
2022-09-01 17:35:39 +00:00
2022-09-01 17:35:39 +00:00
2022-09-01 17:35:39 +00:00
2022-07-07 17:15:01 +00:00
2022-10-06 20:58:46 +00:00
2022-10-25 17:58:42 +00:00
2022-10-25 17:58:42 +00:00
2022-05-01 14:40:55 +00:00
2022-10-25 17:58:42 +00:00
2022-10-25 10:05:18 +00:00
2022-10-20 13:38:28 +00:00
2022-11-03 08:41:19 +00:00
2022-05-01 14:40:55 +00:00
2022-10-25 17:58:42 +00:00
2022-10-25 10:05:18 +00:00
2022-10-25 10:05:18 +00:00
2022-05-01 14:40:55 +00:00
2022-06-16 12:01:27 +00:00
2022-06-16 12:01:27 +00:00