blob: f239e502e19e5e57142e621817c999779e705ca7 [file] [log] [blame]
// flags: --hlsl-shader-model 62
enable f16;
struct S {
v: vec3<f16>,
};
@group(0) @binding(0) var<storage, read_write> U : S;
fn f() {
U.v = vec3<f16>(1.0h, 2.0h, 3.0h);
U.v.x = 1.0h;
U.v.y = 2.0h;
U.v.z = 3.0h;
}