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

11 lines
99 B
WebGPU Shading Language

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