dawn-cmake/test/loops/loop.wgsl.expected.hlsl

16 lines
179 B
HLSL

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