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