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