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