Sign in
dawn
/
dawn
/
ee2e44d0810412f532cd47d75a399a5f931e060f
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
64bit
/
vec4f16-vec2f32.wgsl
blob: 28eb43f2bee3aff4569de9c8a8affab16e03fe88 [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
const
a
:
vec4
<f16>
=
vec4
<f16>
(
1.0h
,
2.0h
,
3.0h
,
-
4.0h
);
let
b
:
vec2
<f32>
=
bitcast
<
vec2
<f32>
>(
a
);
}