blob: 0ccdce714c792c6cf0b633c04018abc6402a6261 [file] [log] [blame]
enable chromium_experimental_full_ptr_parameters;
var<workgroup> S : vec4<f32>;
fn func(pointer : ptr<workgroup, vec4<f32>>) -> vec4<f32> {
return *pointer;
}
@compute @workgroup_size(1)
fn main() {
let r = func(&S);
}