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