Sign in
dawn
/
dawn
/
418e8217f8eef3c39348e42c72ea1bf2661e87c6
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
32bit
/
i32-vec2f16.wgsl
blob: 7bd38650b4edaed14b759608b7d6327e9d474df8 [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
const
a
:
i32
=
i32
(
1073757184i
);
let
b
:
vec2
<f16>
=
bitcast
<
vec2
<f16>
>(
a
);
}