blob: 0d7c2d8511a004efe082a458caaeb9606f9ae0dc [file] [log] [blame]
enable chromium_experimental_full_ptr_parameters;
struct str {
arr : array<i32, 4>,
};
fn func(pointer : ptr<private, array<i32, 4>>) {
*pointer = array<i32, 4>();
}
var<private> P : str;
@compute @workgroup_size(1)
fn main() {
func(&P.arr);
}