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