blob: c39eca46f15924e4b7465fd72820d05ebdb408d5 [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);
}