Sign in
dawn
/
dawn
/
2320e63eb964badefc9166be1c07d0a516b87e63
/
.
/
test
/
tint
/
expressions
/
bitcast
/
let
/
32bit
/
f32-vec2f16.wgsl
blob: dfe85c308251f73a35f7d8ede34988e3ecfc361f [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
let
a
:
f32
=
f32
(
2.003662109375f
);
let
b
:
vec2
<f16>
=
bitcast
<
vec2
<f16>
>(
a
);
}