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