// flags: --hlsl_shader_model 62 | |
enable f16; | |
var<private> m = mat3x2<f16>(vec2<f16>(0.0h, 1.0h), | |
vec2<f16>(2.0h, 3.0h), | |
vec2<f16>(4.0h, 5.0h)); | |
@group(0) @binding(0) | |
var<storage, read_write> out : mat3x2<f16>; | |
@compute @workgroup_size(1) | |
fn f() { | |
out = m; | |
} |