Sign in
dawn
/
dawn
/
04b531d071b0faeaa680f87316c8da2a83f6dd06
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
64bit
/
vec4f16-vec2u32.wgsl
blob: 96e2909e9c3e8cd2f6ea4eb940db1b9229063b65 [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
const
a
:
vec4
<f16>
=
vec4
<f16>
(
1.0h
,
2.0h
,
3.0h
,
-
4.0h
);
let
b
:
vec2
<u32>
=
bitcast
<
vec2
<u32>
>(
a
);
}