blob: f3576e78578bf6c0ffa16b1eeb11ff483054dde0 [file] [log] [blame]
struct str {
i : vec4<f32>,
}
@group(0) @binding(0) var<storage, read_write> S : str;
fn func(pointer : ptr<storage, vec4<f32>, read_write>) {
*(pointer) = vec4<f32>();
}
@compute @workgroup_size(1)
fn main() {
func(&(S.i));
}