dawn-cmake/test/tint/statements/for/condition/struct_ctor.wgsl

9 lines
77 B
WebGPU Shading Language
Raw Permalink Normal View History

struct S {
i : i32,
};
fn f() {
var i : i32;
for (; i < S(1).i;) {}
}