Sign in
dawn
/
dawn
/
2320e63eb964badefc9166be1c07d0a516b87e63
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
16bit
/
f16-f16.wgsl
blob: b29c942cb988a2dc8f9e9a579efbe63aa7e7a57d [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
const
a
:
f16
=
f16
(
1.0h
);
let
b
:
f16
=
bitcast
<f16>
(
a
);
}