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