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

10 lines
99 B
WebGPU Shading Language

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