Sign in
dawn
/
dawn
/
240a934d0f6aa2970aa58e44c85a6bfdf3d6895e
/
.
/
test
/
tint
/
expressions
/
binary
/
sub
/
vec3-vec3
/
f16.wgsl
blob: 8c618d02d42dc3d5b6e55feb50db6d63a26d4b6d [
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
;
}