Sign in
dawn
/
dawn
/
7f45581f4588344c2ddc7ea7c621f222400d3f4d
/
.
/
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
;
}