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-10-25 13:08:45 +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-10-24 23:58:53 +00:00
2022-10-28 12:31:08 +00:00
2022-10-27 15:10:20 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-25 18:03:56 +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-10-24 23:58:53 +00:00
2022-10-31 17:54:49 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-25 13:08:45 +00:00
2022-10-25 13:08:45 +00:00
2022-10-25 13:08:45 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-25 13:08:45 +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-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-25 13:08:45 +00:00
2022-10-24 23:58:53 +00:00
2022-10-25 13:08:45 +00:00
2022-10-25 13:08:45 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +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-10-25 13:08:45 +00:00
2022-10-24 23:58:53 +00:00
2022-10-25 13:08:45 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-25 13:08:45 +00:00
2022-10-25 13:08:45 +00:00
2022-10-24 23:58:53 +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-10-24 23:58:53 +00:00
2022-11-02 00:09:50 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-25 13:08:45 +00:00
2022-10-24 23:58:53 +00:00
2022-10-27 16:41:44 +00:00
2022-10-25 13:08:45 +00:00
2022-10-28 14:56:50 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-10-27 15:32:45 +00:00
2022-07-26 17:16:15 +00:00
2022-10-24 23:58:53 +00:00
2022-10-24 23:58:53 +00:00
2022-11-02 02:25:38 +00:00
2022-10-26 18:47:02 +00:00
2022-10-25 13:08:45 +00:00
2022-10-26 18:47:02 +00:00
2022-10-26 18:36:44 +00:00
2022-10-26 18:36:44 +00:00
2022-10-26 18:36:44 +00:00
2022-10-25 13:08:45 +00:00
2022-11-03 08:41:19 +00:00
2022-10-25 13:08:45 +00:00
2022-10-25 13:08:45 +00:00
2022-10-25 13:08:45 +00:00
2022-10-25 13:08:45 +00:00
2022-10-26 18:47:02 +00:00
2022-10-26 18:47:02 +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