blob: 4074dc94ab1ea59ed225909e982488ac732a2bb7 [file] [log] [blame]
struct main_inputs {
uint tint_local_index : SV_GroupIndex;
};
groupshared int zero[2][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 >= 6u)) {
break;
}
zero[(v_2 / 3u)][(v_2 % 3u)] = int(0);
{
v_1 = (v_2 + 1u);
}
continue;
}
}
GroupMemoryBarrierWithGroupSync();
int v[2][3] = zero;
}
[numthreads(1, 1, 1)]
void main(main_inputs inputs) {
main_inner(inputs.tint_local_index);
}