blob: 29258cc8da9b8eee2bd9cbc95e4e970780f6636d [file] [log] [blame]
struct S {
before : i32,
m : mat4x2<f32>,
after : i32,
}
@group(0) @binding(0) var<uniform> u : array<S, 4>;
fn a(a : array<S, 4>) {
}
fn b(s : S) {
}
fn c(m : mat4x2<f32>) {
}
fn d(v : vec2<f32>) {
}
fn e(f : f32) {
}
@compute @workgroup_size(1)
fn f() {
a(u);
b(u[2]);
c(u[2].m);
d(u[0].m[1].yx);
e(u[0].m[1].yx.x);
}