blob: f147d3d138570a4a6a27d279c155a02a98907bcb [file] [log] [blame]
struct S {
int a;
float b;
};
struct main_inputs {
uint tint_local_index : SV_GroupIndex;
};
groupshared S v;
void main_inner(uint tint_local_index) {
if ((tint_local_index == 0u)) {
S v_1 = (S)0;
v = v_1;
}
GroupMemoryBarrierWithGroupSync();
}
[numthreads(1, 1, 1)]
void main(main_inputs inputs) {
main_inner(inputs.tint_local_index);
}