Sign in
dawn
/
dawn
/
ee2e44d0810412f532cd47d75a399a5f931e060f
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
48bit
/
vec3f16-vec3f16.wgsl
blob: 8c19a84249dda73b77c553eba1ac1b2c5e71418a [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
const
a
:
vec3
<f16>
=
vec3
<f16>
(
1.0h
,
2.0h
,
3.0h
);
let
b
:
vec3
<f16>
=
bitcast
<
vec3
<f16>
>(
a
);
}