blob: c65cd4046fe5dadc851cf0276ffbc5f589a31e7e [file] [log] [blame]
struct Inner {
bool b;
int4 v;
float3x3 m;
};
struct Outer {
Inner a[4];
};
groupshared Outer v;
Outer foo() {
GroupMemoryBarrierWithGroupSync();
Outer v_1 = v;
GroupMemoryBarrierWithGroupSync();
Outer v_2 = v_1;
return v_2;
}
[numthreads(1, 1, 1)]
void unused_entry_point() {
}