Sign in
dawn
/
dawn
/
a8eb33756b228cf587ed065c0144e306def8f902
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
32bit
/
vec2f16-u32.wgsl
blob: 9692cc53828453e549cef623d710d20e41d7922c [
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
:
u32
=
bitcast
<u32>
(
a
);
}