Sign in
dawn
/
dawn
/
a8eb33756b228cf587ed065c0144e306def8f902
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
32bit
/
f32-vec2f16.wgsl
blob: 22fecff079cdcede2475befdae175132a1cb1b47 [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
const
a
:
f32
=
f32
(
2.003662109375f
);
let
b
:
vec2
<f16>
=
bitcast
<
vec2
<f16>
>(
a
);
}