Sign in
dawn
/
dawn
/
e856861fedf14ff9a480171e7ac69c78d11ae9ab
/
.
/
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
);
}