blob: ab5b31045fb361456726d6991f2d8838ab6354cb [file] [log] [blame] [edit]
struct S {
a : vec4f,
b : vec3f,
c : vec2f,
}
@group(0) @binding(0) var<uniform> v : buffer<128>;
@group(0) @binding(1) var<storage, read_write> out : vec2f;
@compute @workgroup_size(1)
fn main() {
let p = bufferArrayView<array<S>>(&(v), 0, 96);
out = p[0].c;
}