Sign in
dawn
/
dawn
/
8ac417c39c7a3a61e462bcb662d64e435cd18696
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_expression
/
vec3-vec3
/
f16.wgsl.expected.msl
blob: c059d40cdf9e33e6118493498c2a99ccdbae0507 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
half3 a
=
half3
(
1.0h
,
2.0h
,
3.0h
);
half3 b
=
half3
(
0.0h
,
5.0h
,
0.0h
);
half3
const
r
=
(
a
/
(
b
+
b
));
return
;
}