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