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