Sign in
dawn
/
dawn
/
8ac417c39c7a3a61e462bcb662d64e435cd18696
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_expression
/
vec3-vec3
/
f16.wgsl.expected.wgsl
blob: 12179f9938e3623ac46198d90ad4993edcef0087 [
file
] [
log
] [
blame
]
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
var
a
=
vec3
<f16>
(
1.0h
,
2.0h
,
3.0h
);
var
b
=
vec3
<f16>
(
0.0h
,
5.0h
,
0.0h
);
let
r
:
vec3
<f16>
=
(
a
/
(
b
+
b
));
}