Sign in
dawn
/
dawn
/
ec871f2da1702386bfb22c52f29fd527dad70b76
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
64bit
/
vec4f16-vec4f16.wgsl
blob: 652dc386ad1f05c76d73820b246414520badf800 [
file
]
// flags: --hlsl-shader-model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
const
a
:
vec4
<f16>
=
vec4
<f16>
(
1.0h
,
2.0h
,
3.0h
,
-
4.0h
);
let
b
:
vec4
<f16>
=
bitcast
<
vec4
<f16>
>(
a
);
}