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