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

15 lines
174 B
HLSL
Raw Normal View History

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