dawn-cmake/test/intrinsics/gen/dpdx
Ben Clayton f24b37e122 writer/msl: Rework string printing
Add `out` parameters to expression and type generators.

Use the new helper classes in TextGenerator.
Cleans up bad formatting.

Prepares the writer generating 'pre' statements, required for atomics.

If-else statements are generated slightly differently. This is done so that 'pre' statements for the else conditions are scoped correctly. This is identical to the HLSL writer.

Bug tint:892

Change-Id: I4c6e96c90673ba30898b3682bf3198497d63a2d4
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/56067
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2021-06-28 15:30:57 +00:00
..
99edb1.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
99edb1.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
99edb1.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
99edb1.wgsl.expected.spvasm [tools]: Generate intrinisic test cases 2021-06-03 11:26:17 +00:00
99edb1.wgsl.expected.wgsl [tools]: Generate intrinisic test cases 2021-06-03 11:26:17 +00:00
0763f7.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
0763f7.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
0763f7.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
0763f7.wgsl.expected.spvasm [tools]: Generate intrinisic test cases 2021-06-03 11:26:17 +00:00
0763f7.wgsl.expected.wgsl [tools]: Generate intrinisic test cases 2021-06-03 11:26:17 +00:00
c487fa.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
c487fa.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
c487fa.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
c487fa.wgsl.expected.spvasm [tools]: Generate intrinisic test cases 2021-06-03 11:26:17 +00:00
c487fa.wgsl.expected.wgsl [tools]: Generate intrinisic test cases 2021-06-03 11:26:17 +00:00
e263de.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
e263de.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
e263de.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
e263de.wgsl.expected.spvasm [tools]: Generate intrinisic test cases 2021-06-03 11:26:17 +00:00
e263de.wgsl.expected.wgsl [tools]: Generate intrinisic test cases 2021-06-03 11:26:17 +00:00