Sign in
dawn
/
dawn
/
607aee4e7799a5fc0b9e39e83da6a7e7fa95bd1d
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
32bit
/
vec2f16-f32.wgsl
blob: 117221e0d568fc516274b307951156de32d90a63 [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
const
a
:
vec2
<f16>
=
vec2
<f16>
(
1.0h
,
2.0h
);
let
b
:
f32
=
bitcast
<f32>
(
a
);
}