writer/hlsl: Use the WrapArraysInStructs transform

Fixes issues with using arrays as function return types.

Fixed: tint:848
Change-Id: Iee8af0f2cea9d19e448176446c6599be2bd32316
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54321
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
diff --git a/test/intrinsics/gen/fma/c10ba3.wgsl.expected.hlsl b/test/intrinsics/gen/fma/c10ba3.wgsl.expected.hlsl
index 21b964e..3181c25 100644
--- a/test/intrinsics/gen/fma/c10ba3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fma/c10ba3.wgsl.expected.hlsl
@@ -16,29 +16,31 @@
   const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
   return tint_symbol_1;
 }
+
 void fragment_main() {
   fma_c10ba3();
   return;
 }
+
 [numthreads(1, 1, 1)]
 void compute_main() {
   fma_c10ba3();
   return;
 }
 
-tint_kYorD1:2:15: error: no matching function for call to 'fma'
+tint_tqaLcU:2:15: error: no matching function for call to 'fma'
   float res = fma(1.0f, 1.0f, 1.0f);
               ^~~
 note: candidate function not viable: no known conversion from 'float' to 'double' for 1st argument
 
 
-tint_kYorD1:2:15: error: no matching function for call to 'fma'
+tint_tqaLcU:2:15: error: no matching function for call to 'fma'
   float res = fma(1.0f, 1.0f, 1.0f);
               ^~~
 note: candidate function not viable: no known conversion from 'float' to 'double' for 1st argument
 
 
-tint_kYorD1:2:15: error: no matching function for call to 'fma'
+tint_tqaLcU:2:15: error: no matching function for call to 'fma'
   float res = fma(1.0f, 1.0f, 1.0f);
               ^~~
 note: candidate function not viable: no known conversion from 'float' to 'double' for 1st argument