dawn-cmake/test/ptr_ref/store/global
James Price 2940c7002c writer/msl: Avoid generating unnecessary pointers
When moving private and workgroup variables into the entry point,
generate pointers to pass as arguments to sub-functions on demand,
instead of upfront. This removes a bunch of unnecessary dereferences
for accesses inside the entry point, and one function variable.

Change-Id: I7d1aabdf14eae33b569b3316dfc0f9fbd288131e
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54300
Auto-Submit: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: James Price <jrprice@google.com>
2021-06-11 12:29:56 +00:00
..
i32.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.spvasm.expected.hlsl writer/hlsl: Emit `static` for private global variables 2021-05-19 09:03:48 +00:00
i32.spvasm.expected.msl writer/msl: Avoid generating unnecessary pointers 2021-06-11 12:29:56 +00:00
i32.spvasm.expected.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.spvasm.expected.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.wgsl.expected.hlsl writer/hlsl: Emit `static` for private global variables 2021-05-19 09:03:48 +00:00
i32.wgsl.expected.msl writer/msl: Avoid generating unnecessary pointers 2021-06-11 12:29:56 +00:00
i32.wgsl.expected.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.wgsl.expected.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.spvasm.expected.hlsl writer/hlsl: Emit `static` for private global variables 2021-05-19 09:03:48 +00:00
struct_field.spvasm.expected.msl writer/msl: Avoid generating unnecessary pointers 2021-06-11 12:29:56 +00:00
struct_field.spvasm.expected.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.spvasm.expected.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00