enable f16;

@group(0) @binding(0) var<uniform> u : array<mat2x4<f16>, 4>;

fn a(a : array<mat2x4<f16>, 4>) {
}

fn b(m : mat2x4<f16>) {
}

fn c(v : vec4<f16>) {
}

fn d(f : f16) {
}

@compute @workgroup_size(1)
fn f() {
  a(u);
  b(u[1]);
  c(u[1][0].ywxz);
  d(u[1][0].ywxz.x);
}
