blob: c467bdf117ba70fa8e707d8dcde31f7c86b5502b [file] [log] [blame]
int f() {
int i = int(0);
{
uint2 tint_loop_idx = (0u).xx;
while(true) {
if (all((tint_loop_idx == (4294967295u).xx))) {
break;
}
i = (i + int(1));
if ((i > int(4))) {
return i;
}
{
uint tint_low_inc = (tint_loop_idx.x + 1u);
tint_loop_idx.x = tint_low_inc;
uint tint_carry = uint((tint_low_inc == 0u));
tint_loop_idx.y = (tint_loop_idx.y + tint_carry);
}
continue;
}
}
/* unreachable */
return int(0);
}
[numthreads(1, 1, 1)]
void unused_entry_point() {
}