Sign in
dawn
/
dawn
/
418e8217f8eef3c39348e42c72ea1bf2661e87c6
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
64bit
/
vec2f32-vec4f16.wgsl
blob: c73ef21c2c0ca384b110109e50c701ac1075cbfc [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
const
a
:
vec2
<f32>
=
vec2
<f32>
(
2.003662109375f
,
-
513.03125f
);
let
b
:
vec4
<f16>
=
bitcast
<
vec4
<f16>
>(
a
);
}