blob: 557bd1e21572afbc8853d307a4924425b6b8571d [file] [log] [blame]
struct main_inputs {
uint tint_local_index : SV_GroupIndex;
};
groupshared int v;
void main_inner(uint tint_local_index) {
if ((tint_local_index == 0u)) {
v = 0;
}
GroupMemoryBarrierWithGroupSync();
int i = v;
}
[numthreads(1, 1, 1)]
void main(main_inputs inputs) {
main_inner(inputs.tint_local_index);
}