dawn-cmake/test/tint/out_of_order_decls/array/struct.wgsl

10 lines
92 B
WebGPU Shading Language

var<private> A : array<S, 4>;
struct S {
m : i32,
};
@fragment
fn f() {
A[0] = S(1);
}