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

8 lines
75 B
WebGPU Shading Language

struct S {
i : i32;
};
fn f() {
for (var i = 0;; i = i + S(1).i) {}
}