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