Sign in
dawn
/
dawn
/
refs/heads/chromium/5146
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_expression
/
scalar-scalar
/
f32.wgsl.expected.msl
blob: d317b59a1ef9484dd3caa2408198fac6ac512206 [
file
] [
log
] [
blame
] [
edit
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
float
a
=
1.0f
;
float
b
=
0.0f
;
float
const
r
=
(
a
/
(
b
+
b
));
return
;
}