blob: aab333eccb36dfb8c249988b71c28a8d37d23436 [file] [log] [blame]
struct Uniforms {
i : u32;
j : u32;
};
[[group(1), binding(4)]] var<uniform> uniforms : Uniforms;
[[stage(compute), workgroup_size(1)]]
fn main() {
var m1 : mat2x4<f32>;
m1[uniforms.i][uniforms.j] = 1.0;
}