dawn-cmake/test/var/uses
James Price 1ca6fbad8f msl: Use a struct for threadgroup memory arguments
MSL has a limit on the number of threadgroup memory arguments, so use
a struct to support an arbitrary number of workgroup variables.

This commit introduces a `State` object to this transform, which is
used to track which structs have been cloned eagerly, in order to
avoid duplicating them.

Bug: tint:938
Change-Id: Ia467db186e176a08f160455eab5fd3b3662f56b8
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/65360
Auto-Submit: James Price <jrprice@google.com>
Kokoro: James Price <jrprice@google.com>
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-09-29 18:56:17 +00:00
..
many_workgroup_vars.wgsl msl: Use a struct for threadgroup memory arguments 2021-09-29 18:56:17 +00:00
many_workgroup_vars.wgsl.expected.hlsl msl: Use a struct for threadgroup memory arguments 2021-09-29 18:56:17 +00:00
many_workgroup_vars.wgsl.expected.msl msl: Use a struct for threadgroup memory arguments 2021-09-29 18:56:17 +00:00
many_workgroup_vars.wgsl.expected.spvasm msl: Use a struct for threadgroup memory arguments 2021-09-29 18:56:17 +00:00
many_workgroup_vars.wgsl.expected.wgsl msl: Use a struct for threadgroup memory arguments 2021-09-29 18:56:17 +00:00
private.wgsl test: move test/var files to test/var/uses 2021-06-30 15:58:50 +00:00
private.wgsl.expected.hlsl test: move test/var files to test/var/uses 2021-06-30 15:58:50 +00:00
private.wgsl.expected.msl Restore "MSL writer: make signed int overflow defined behaviour" 2021-07-30 18:59:06 +00:00
private.wgsl.expected.spvasm test: move test/var files to test/var/uses 2021-06-30 15:58:50 +00:00
private.wgsl.expected.wgsl test: move test/var files to test/var/uses 2021-06-30 15:58:50 +00:00
workgroup.wgsl test: move test/var files to test/var/uses 2021-06-30 15:58:50 +00:00
workgroup.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
workgroup.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
workgroup.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
workgroup.wgsl.expected.wgsl test: move test/var files to test/var/uses 2021-06-30 15:58:50 +00:00