blob: 5f22ad6f5313e6ba6b3c447c03a01420ac133a98 [file] [log] [blame]
struct main_inputs {
uint tint_local_index : SV_GroupIndex;
};
groupshared int zero[3];
void main_inner(uint tint_local_index) {
{
uint v_1 = 0u;
v_1 = tint_local_index;
while(true) {
uint v_2 = v_1;
if ((v_2 >= 3u)) {
break;
}
zero[v_2] = int(0);
{
v_1 = (v_2 + 1u);
}
continue;
}
}
GroupMemoryBarrierWithGroupSync();
int v[3] = zero;
}
[numthreads(1, 1, 1)]
void main(main_inputs inputs) {
main_inner(inputs.tint_local_index);
}