Sign in
dawn
/
dawn
/
7d8ee4a956fb4acf14b7b8a233cf2808a72834d6
/
.
/
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
);
}