dawn-cmake/test/tint/expressions/zero_init/array/struct.wgsl

11 lines
106 B
WebGPU Shading Language

struct S {
i : i32;
u : u32;
f : f32;
b : bool;
};
fn f() {
var v = array<S, 4>();
}