commit | e2f35ba8e0a4f8f234660c980a1917f5504482a3 | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Wed Jan 26 16:48:55 2022 +0000 |
committer | Tint LUCI CQ <tint-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 26 16:48:55 2022 +0000 |
tree | c85b7729cba6334b784cdd9831e3b55c1b2af604 | |
parent | b1d2b84f7dcbe753f625c17885866233732e3148 [diff] [blame] |
GLSL: clean up GLSL output whitespace generation. More line() and less std::endl. More automated indents and less manual spacing. Put a single newline after every struct and function declaration. Note that this does touch every test result, but only affects whitespace. Change-Id: I7506b9029b79b91fb335911dba44369b36f09bbe Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78300 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
diff --git a/test/expressions/binary/add/vec3-scalar/i32.wgsl.expected.glsl b/test/expressions/binary/add/vec3-scalar/i32.wgsl.expected.glsl index 7882f3b..b13d477 100644 --- a/test/expressions/binary/add/vec3-scalar/i32.wgsl.expected.glsl +++ b/test/expressions/binary/add/vec3-scalar/i32.wgsl.expected.glsl
@@ -7,8 +7,8 @@ ivec3 r = (a + 4); return; } + void main() { f(); } -