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

17 lines
181 B
HLSL

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