Sign in
dawn
/
dawn
/
408ace69274df49340db6846ee014fb7845f462b
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_expression
/
scalar-vec3
/
f16.wgsl
blob: e5a465da425fe5bab663c9d0061e716f8c2610cf [
file
] [
log
] [
blame
]
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
var
a
=
4.h
;
var
b
=
vec3
<f16>
(
0.h
,
2.h
,
0.h
);
let
r
:
vec3
<f16>
=
a
/
(
b
+
b
);
}