Sign in
dawn
/
dawn
/
2320e63eb964badefc9166be1c07d0a516b87e63
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
64bit
/
vec2f32-vec4f16.wgsl
blob: c73ef21c2c0ca384b110109e50c701ac1075cbfc [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
const
a
:
vec2
<f32>
=
vec2
<f32>
(
2.003662109375f
,
-
513.03125f
);
let
b
:
vec4
<f16>
=
bitcast
<
vec4
<f16>
>(
a
);
}