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