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