dawn-cmake/test/loops/loop_with_continuing.wgsl.e...

18 lines
200 B
HLSL

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
int f() {
int i = 0;
[loop] while (true) {
if ((i > 4)) {
return i;
}
{
i = (i + 1);
}
}
return 0;
}