dawn-cmake/test/statements/for/continuing/struct_ctor.wgsl.expected.hlsl

26 lines
300 B
HLSL
Raw Normal View History

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
struct S {
int i;
};
void f() {
{
int i = 0;
[loop] while (true) {
if (!(false)) {
break;
}
{
}
{
const S tint_symbol = {1};
i = (i + tint_symbol.i);
}
}
}
}