Sign in
dawn
/
dawn
/
fa3f89b26b1bb003391d0baf5005c20e50e9b782
/
.
/
test
/
tint
/
expressions
/
bitcast
/
const
/
64bit
/
vec4f16-vec4f16.wgsl
blob: da9b89244464c70c6fd9c82eeae7f791da79dfcd [
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
:
vec4
<f16>
=
bitcast
<
vec4
<f16>
>(
a
);
}