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

17 lines
188 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);
}
}
}