dawn-cmake/test
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
..
access spirv-reader: Set workgroup size, but not specializable 2021-06-17 22:40:43 +00:00
array writer/hlsl: Emit zero values for private variables 2021-06-21 19:37:58 +00:00
bug writer/hlsl: Rework string printing 2021-06-26 11:11:55 +00:00
expressions test: Add test cases for zero value constructors 2021-06-21 20:31:36 +00:00
intrinsics writer/hlsl: Rework string printing 2021-06-26 11:11:55 +00:00
loops test: Add loop test cases 2021-06-21 19:04:56 +00:00
ptr_ref writer/hlsl: Emit zero values for private variables 2021-06-21 19:37:58 +00:00
samples writer/hlsl: Emit zero values for private variables 2021-06-21 19:37:58 +00:00
shader_io test: Add missing stage attributes to IO test 2021-06-19 01:12:45 +00:00
struct writer/hlsl: Use the WrapArraysInStructs transform 2021-06-16 09:19:36 +00:00
types writer/hlsl: Emit zero values for private variables 2021-06-21 19:37:58 +00:00
var writer/hlsl: Emit zero values for private variables 2021-06-21 19:37:58 +00:00
BUILD.gn msl: Add ArrayLengthFromUniform transform 2021-06-19 00:33:35 +00:00
extract-spvasm.py Add --dump-spirv option to tint_unittests 2021-05-05 09:46:31 +00:00
test-all.sh main: Replace --dawn-validation with --validate 2021-06-02 21:02:34 +00:00