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

8 lines
78 B
WebGPU Shading Language

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