dawn-cmake/test/intrinsics/gen/select
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
..
00b848.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
00b848.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
00b848.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
00b848.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
00b848.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
01e2cd.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
01e2cd.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
01e2cd.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
01e2cd.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
01e2cd.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
1e960b.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
1e960b.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
1e960b.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
1e960b.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
1e960b.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
28a27e.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
28a27e.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
28a27e.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
28a27e.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
28a27e.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
80a9a9.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
80a9a9.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
80a9a9.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
80a9a9.wgsl.expected.spvasm tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
80a9a9.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
99f883.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
99f883.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
99f883.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
99f883.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
99f883.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
266aff.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
266aff.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
266aff.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
266aff.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
266aff.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
416e14.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
416e14.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
416e14.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
416e14.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
416e14.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
a2860e.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
a2860e.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
a2860e.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
a2860e.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
a2860e.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
bb8aae.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
bb8aae.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
bb8aae.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
bb8aae.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
bb8aae.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
c4a4ef.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
c4a4ef.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
c4a4ef.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
c4a4ef.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
c4a4ef.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
c31f9e.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
c31f9e.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
c31f9e.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
c31f9e.wgsl.expected.spvasm tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
c31f9e.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
cb9301.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
cb9301.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
cb9301.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
cb9301.wgsl.expected.spvasm tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
cb9301.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
e3e028.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
e3e028.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
e3e028.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
e3e028.wgsl.expected.spvasm tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
e3e028.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
ebfea2.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
ebfea2.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
ebfea2.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
ebfea2.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
ebfea2.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
ed8a15.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
ed8a15.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
ed8a15.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
ed8a15.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
ed8a15.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00