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