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

15 lines
167 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;
}
}
}