Sign in
dawn
/
dawn
/
48318cd9d31a766fa5f60bca330ae65cc53a3c9c
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
32bit
/
vec2f16-f32.wgsl
blob: 7f48ab0c738218ab05b87cdeb1f2b8d964373485 [
file
] [
log
] [
blame
]
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
const
a
:
vec2
<f16>
=
vec2
<f16>
(
1.0h
,
2.0h
);
let
b
:
f32
=
bitcast
<f32>
(
a
);
}