transform/msl: Run InlinePointerLets and Simplify
This will be relied on by the upcoming arrayLength transform.
Update test expectations.
Change-Id: Ib74b647abcd6f4393f9899ce40bbf06f6e53e7f4
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/55180
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
diff --git a/test/array/assign_to_subexpr.wgsl.expected.msl b/test/array/assign_to_subexpr.wgsl.expected.msl
index 2b62433..9b47792 100644
--- a/test/array/assign_to_subexpr.wgsl.expected.msl
+++ b/test/array/assign_to_subexpr.wgsl.expected.msl
@@ -16,13 +16,10 @@
tint_array_wrapper dst = {};
S dst_struct = {};
tint_array_wrapper_1 dst_array = {};
- thread tint_array_wrapper* const dst_ptr = &(dst);
- thread S* const dst_struct_ptr = &(dst_struct);
- thread tint_array_wrapper_1* const dst_array_ptr = &(dst_array);
dst_struct.arr = src;
dst_array.arr[1] = src;
- *(dst_ptr) = src;
- (*(dst_struct_ptr)).arr = src;
- (*(dst_array_ptr)).arr[0] = src;
+ dst = src;
+ dst_struct.arr = src;
+ dst_array.arr[0] = src;
}