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