blob: 3584eb1ade5ac5bccb5a6d4693d3879f10827c99 [file] [log] [blame]
@group(0) @binding(0) var<uniform> u : array<mat3x3<f32>, 4>;
@group(0) @binding(1) var<storage, read_write> s: f32;
@compute @workgroup_size(1)
fn f() {
let t = transpose(u[2]);
let l = length(u[0][1].zxy);
let a = abs(u[0][1].zxy.x);
s = t[0].x + f32(l) + f32(a);
}