Sign in
dawn
/
dawn
/
ea12bfae75b8e57931b32880ac20cf4500dae9aa
/
.
/
test
/
tint
/
expressions
/
binary
/
add
/
vec3-vec3
/
f16.wgsl
blob: 04e90a4001355e08b3f427fd7bad5861d7a94bd6 [
file
] [
log
] [
blame
]
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
let
a
=
vec3
<f16>
(
1.h
,
2.h
,
3.h
);
let
b
=
vec3
<f16>
(
4.h
,
5.h
,
6.h
);
let
r
:
vec3
<f16>
=
a
+
b
;
}