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

17 lines
188 B
HLSL
Raw Normal View History

[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);
}
}
}