dawn-cmake/test/tint/loops/while_with_continue.wgsl.ex...

14 lines
161 B
HLSL

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