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