Ben Clayton
c03a09c106
writer/hlsl: Rework string printing
...
Remove `pre` and `out` parameters from most generator methods.
Use the `out_` string stream in TextGenerator, add helpers to TextGenerator to simplify line printing.
Remove the `pre` and `out` fields from TestHelper.
Cleans up the `pre` aspects of the HLSL writer, so the same concept can be used by the MSL writer.
Fixes indentation bugs in formatting.
Change-Id: Ia35daf632c7c7b84a6fbf3b9ae42baaeb3c97649
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/55960
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: David Neto <dneto@google.com>
Reviewed-by: James Price <jrprice@google.com>
2021-06-26 11:11:55 +00:00
..
2021-06-04 22:17:37 +00:00
2021-06-16 09:19:36 +00:00
2021-06-21 08:49:27 +00:00
2021-06-10 17:34:44 +00:00
2021-06-04 20:41:47 +00:00
2021-06-16 09:50:11 +00:00
2021-06-16 09:50:11 +00:00
2021-06-16 09:50:11 +00:00
2021-06-16 09:50:11 +00:00
2021-06-16 09:50:11 +00:00
2021-06-16 09:19:36 +00:00
2021-06-16 09:19:36 +00:00
2021-06-16 09:19:36 +00:00
2021-06-16 09:19:36 +00:00
2021-06-16 09:19:36 +00:00
2021-06-23 17:35:42 +00:00
2021-06-24 22:37:48 +00:00
2021-06-10 18:49:14 +00:00
2021-06-23 17:35:42 +00:00
2021-06-23 17:35:42 +00:00
2021-06-10 18:49:14 +00:00
2021-06-17 09:10:04 +00:00
2021-06-18 09:47:23 +00:00
2021-06-17 09:10:04 +00:00
2021-06-17 22:40:43 +00:00
2021-06-16 09:19:36 +00:00
2021-06-16 09:19:36 +00:00
2021-06-18 09:47:23 +00:00
2021-06-16 09:19:36 +00:00
2021-06-16 09:19:36 +00:00
2021-06-04 22:17:37 +00:00
2021-06-16 09:19:36 +00:00
2021-06-18 09:47:23 +00:00
2021-06-10 17:34:44 +00:00
2021-06-04 20:41:47 +00:00
2021-06-04 20:41:47 +00:00
2021-06-18 21:15:25 +00:00
2021-06-21 08:49:27 +00:00
2021-06-04 22:17:37 +00:00
2021-06-04 20:41:47 +00:00
2021-05-17 21:01:37 +00:00
2021-06-21 19:37:58 +00:00
2021-06-21 08:49:27 +00:00
2021-06-17 09:10:04 +00:00
2021-06-17 09:10:04 +00:00
2021-06-16 09:19:36 +00:00
2021-06-18 21:15:25 +00:00
2021-06-21 08:49:27 +00:00
2021-06-10 18:49:14 +00:00
2021-06-16 09:19:36 +00:00
2021-06-10 18:49:14 +00:00
2021-06-16 09:19:36 +00:00
2021-06-10 18:49:14 +00:00
2021-06-10 18:49:14 +00:00
2021-06-10 18:49:14 +00:00
2021-05-17 21:01:37 +00:00
2021-06-16 09:19:36 +00:00
2021-06-16 09:19:36 +00:00
2021-05-18 09:24:18 +00:00
2021-05-18 09:24:18 +00:00
2021-06-10 18:49:14 +00:00
2021-06-10 18:49:14 +00:00
2021-06-10 18:49:14 +00:00
2021-06-10 18:49:14 +00:00
2021-06-10 18:49:14 +00:00
2021-06-10 18:49:14 +00:00
2021-06-10 18:49:14 +00:00
2021-06-10 18:49:14 +00:00
2021-06-10 18:49:14 +00:00
2021-06-10 18:49:14 +00:00
2021-06-16 17:42:53 +00:00
2021-06-16 17:42:53 +00:00
2021-06-16 17:42:53 +00:00
2021-06-16 17:42:53 +00:00
2021-06-16 17:42:53 +00:00
2021-06-16 17:42:53 +00:00
2021-06-16 17:42:53 +00:00
2021-06-16 17:42:53 +00:00
2021-06-16 17:42:53 +00:00
2021-06-16 17:42:53 +00:00
2021-06-16 09:19:36 +00:00
2021-06-24 08:46:06 +00:00
2021-06-17 09:10:04 +00:00
2021-06-16 09:19:36 +00:00
2021-06-16 09:19:36 +00:00
2021-06-16 09:50:11 +00:00
2021-06-18 21:15:25 +00:00
2021-06-17 09:10:04 +00:00
2021-06-17 09:10:04 +00:00
2021-06-17 09:10:04 +00:00
2021-06-19 08:18:50 +00:00
2021-06-26 11:11:55 +00:00
2021-06-19 08:18:50 +00:00
2021-06-19 08:18:50 +00:00
2021-06-19 08:18:50 +00:00
2021-06-19 17:34:35 +00:00
2021-06-26 11:11:55 +00:00
2021-06-21 08:49:27 +00:00
2021-06-19 17:34:35 +00:00
2021-06-19 17:34:35 +00:00
2021-06-24 19:01:06 +00:00
2021-06-24 19:01:06 +00:00
2021-06-24 19:01:06 +00:00
2021-06-24 19:01:06 +00:00
2021-06-24 19:01:06 +00:00