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