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