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