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

8 lines
85 B
WebGPU Shading Language

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