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