commit | 48be7e8ba0289223b0d2cf866800f423c0995716 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Jun 19 22:38:07 2024 +0000 |
committer | James Price <jrprice@google.com> | Wed Jun 19 22:38:07 2024 +0000 |
tree | 1b7ba4d9e3346c83097c90e4cae62330e1e15e88 | |
parent | ddcec00320de1bc31427c4171ccc2bac52b6e892 [diff] [blame] |
[msl] Add newlines between global declarations This makes it easier to read modules with many struct and function declarations. Bug: 42251016 Change-Id: Idd5a2b48db1e7f19384a0061d276bf723756e780 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/194342 Reviewed-by: dan sinclair <dsinclair@chromium.org>
diff --git a/test/tint/extensions/parsing/multiple.wgsl.expected.ir.msl b/test/tint/extensions/parsing/multiple.wgsl.expected.ir.msl index 8cc32ef..e1ce0da 100644 --- a/test/tint/extensions/parsing/multiple.wgsl.expected.ir.msl +++ b/test/tint/extensions/parsing/multiple.wgsl.expected.ir.msl
@@ -1,5 +1,6 @@ #include <metal_stdlib> using namespace metal; + struct tint_symbol_outputs { float4 tint_symbol_1 [[color(0)]]; }; @@ -7,6 +8,7 @@ float4 tint_symbol_inner() { return float4(0.10000000149011611938f, 0.20000000298023223877f, 0.30000001192092895508f, 0.40000000596046447754f); } + fragment tint_symbol_outputs tint_symbol() { return tint_symbol_outputs{.tint_symbol_1=tint_symbol_inner()}; }