| struct Inner { | |
| bool b; | |
| int4 v; | |
| float3x3 m; | |
| }; | |
| struct Outer { | |
| Inner a[4]; | |
| }; | |
| groupshared Outer v; | |
| Outer foo() { | |
| GroupMemoryBarrierWithGroupSync(); | |
| Outer v_1 = v; | |
| GroupMemoryBarrierWithGroupSync(); | |
| return v_1; | |
| } | |
| [numthreads(1, 1, 1)] | |
| void unused_entry_point() { | |
| } | |