mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 13:38:00 +00:00
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>
This commit is contained in:
committed by
Tint LUCI CQ
parent
e55e2109b3
commit
567f2e4f3b
@@ -16,13 +16,10 @@ void foo() {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user